<?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: How to change dimension dynamically in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-change-dimension-dynamically/m-p/1335526#M828833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain how this expression works. I couldn't understand how it would be suitable for my scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Siva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2017 14:32:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-06T14:32:50Z</dc:date>
    <item>
      <title>How to change dimension dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-dimension-dynamically/m-p/1335524#M828831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a requirement like, if a customer is selected in the filter as shown below,&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="169230" alt="Screenshot_2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/169230_Screenshot_2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;it will compare the fields of that selected customer(Hapag Lloyd) with the fields of other two customers and find the matched fields as shown below,&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="169231" alt="Screenshot_3.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/169231_Screenshot_3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In this chart, "Maersk" customer has 6 fields totally. Out of 6 fields, 5 fields exactly matched with the fields of the selected customer "Hapag Lloyd" and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly for "Cargosmart", it has 4 fields totally. &lt;SPAN style="font-size: 13.3333px;"&gt;Out of 4 fields, all the 4 fields exactly matched with the fields of the selected customer "Hapag Lloyd" and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have used P() and E() functions in expression to achieve this. On clicking on the bars in that bar chart, I want to get the field details in a table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;=Count(DISTINCT{&amp;lt;comparison={'true'},Customer=E(Customer)&amp;gt;}FieldName)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For example, if I select that 5 fields of "Maersk" customer, that 5 fields alone should be displayed in a table and similarly for all the bars in that bar chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I tried but couldn't achieve this, because I've already used the customer dimension in the expression using P() and E() function. So, for example if "Maersk" is selected in the chart, the other two customers are displayed as I have used customer as a dimension in the bar chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Friends, Please give any other way to achieve this. It will be more helpful if I get any idea on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Siva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-dimension-dynamically/m-p/1335524#M828831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to change dimension dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-dimension-dynamically/m-p/1335525#M828832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A small try from my side:&lt;/P&gt;&lt;P&gt;If(Customer &amp;lt;&amp;gt; 'Hapag Lloyd', aggr(if(rank(count({&amp;lt;Field_Count = {"1"}&amp;gt;}Cargosmart))&amp;lt;=10,Customer),Customer))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;View by= different customers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Customer &amp;lt;&amp;gt; 'Hapag Lloyd', aggr(if(rank(count({&amp;lt;Field_Count = {"1"}&amp;gt;} Maersk))&amp;lt;=10,Customer),Customer))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 00:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-dimension-dynamically/m-p/1335525#M828832</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2017-07-06T00:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to change dimension dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-dimension-dynamically/m-p/1335526#M828833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain how this expression works. I couldn't understand how it would be suitable for my scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Siva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 14:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-dimension-dynamically/m-p/1335526#M828833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-06T14:32:50Z</dc:date>
    </item>
  </channel>
</rss>

