<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Change dimension based on selected expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418283#M570316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i can't see your attach file tooooo but i do really need you example~~ could you please send me the attachment???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2015 03:15:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-19T03:15:41Z</dc:date>
    <item>
      <title>Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418271#M570304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart for which I have 4 dimensions and 4 expressions. Lets give them random names before I start describing my problem (screen shots have the real names I have used)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions&amp;nbsp;&amp;nbsp; Expressions&lt;/P&gt;&lt;P&gt;DimA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpA&lt;/P&gt;&lt;P&gt;DimB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpB&lt;/P&gt;&lt;P&gt;DimC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpC&lt;/P&gt;&lt;P&gt;DimD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExpD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Dimensions are cyclic grouped and Expressions are also cyclic grouped (Please see attached screen shots)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DimA - formula used is &lt;EM&gt;&lt;STRONG&gt;=Aggr(DISTINCT ROUND(DimA, .1), DimA)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;ExpA - formula used is &lt;EM&gt;&lt;STRONG&gt;=Count(ROUND(DimA, .1))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same formula applies to all other dimensions and expressions (Only the dimension and expression names change in the formula).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently, currently the users when they select ExpA then they must select DimA to see the correct results in the graph. Similary if they select ExpB then DimB must be selected to see the correct results. &lt;/P&gt;&lt;P&gt;This is a bit annoying sometimes and I wanted to know if there is a way by which I can achieve the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Whenver user selects an ExpA automatically DimA must be selected.&lt;/P&gt;&lt;P&gt;2. Above must apply to all other expressions.&lt;/P&gt;&lt;P&gt;3. Show only the result of one selected expression (with one dimension) at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this doable in any way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ranjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 03:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418271#M570304</guid>
      <dc:creator />
      <dc:date>2012-10-16T03:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418272#M570305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranjith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using GetCurrentField(), we can get the selected dimension in a Group.&amp;nbsp; By getting the dimension, using If() in expression you can achieve this in a single expression like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(GetCurrentField(GroupName) = 'Dimension1', Expression1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetCurrentField(GroupName) = 'Dimension2', Expression2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(GetCurrentField(GroupName) = 'Dimension3', Expression3, Expression4)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you don't need four expression, single dynamic expression serves your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; left: -10000px; top: 1006px; width: 1px; height: 1px; overflow: hidden;"&gt;﻿﻿&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 06:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418272#M570305</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-10-16T06:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418273#M570306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response but I'm afraid this will not work for me. The reason being GetCurrentField() only works if the group contains fields whereas mine consists of formula's (please check my first post above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 06:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418273#M570306</guid>
      <dc:creator />
      <dc:date>2012-10-16T06:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418274#M570307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranjith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of QV do you use?&lt;/P&gt;&lt;P&gt;If you use QV 11 you can easily do this by enabling the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 06:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418274#M570307</guid>
      <dc:creator />
      <dc:date>2012-10-16T06:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418275#M570308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use QV11. Can you please attach an example of how to do this in my case please where the dimensions and expressions are groups and then each field is a calculated one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 06:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418275#M570308</guid>
      <dc:creator />
      <dc:date>2012-10-16T06:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418276#M570309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranjith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Provide me a sample document with sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 06:43:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418276#M570309</guid>
      <dc:creator />
      <dc:date>2012-10-16T06:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418277#M570310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 06:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418277#M570310</guid>
      <dc:creator />
      <dc:date>2012-10-16T06:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418278#M570311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ppl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any answers? Is there a way possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 08:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418278#M570311</guid>
      <dc:creator />
      <dc:date>2012-10-16T08:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418279#M570312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the attached file..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 18:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418279#M570312</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-10-16T18:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418280#M570313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great. Thanks MV. That solved it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 02:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418280#M570313</guid>
      <dc:creator />
      <dc:date>2012-10-17T02:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418281#M570314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Actually i have same requirement. If i select one expression then i should get the respective dimension value so that i can pass same thing through button to navigate to other sheet....&lt;/P&gt;&lt;P&gt;So do we have have any method by which i can which expression and corresponding dimension selected ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 11:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418281#M570314</guid>
      <dc:creator />
      <dc:date>2014-01-10T11:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418282#M570315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mayil:&lt;/P&gt;&lt;P&gt;I have the same issue.&lt;/P&gt;&lt;P&gt;I don't see your attached file..can you pls attach it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 20:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418282#M570315</guid>
      <dc:creator />
      <dc:date>2014-09-10T20:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change dimension based on selected expression</title>
      <link>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418283#M570316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i can't see your attach file tooooo but i do really need you example~~ could you please send me the attachment???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 03:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-dimension-based-on-selected-expression/m-p/418283#M570316</guid>
      <dc:creator />
      <dc:date>2015-03-19T03:15:41Z</dc:date>
    </item>
  </channel>
</rss>

