<?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: Dynamic Dimension or Expression based on GetPossibleCount in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11095#M1757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens with no selections? I need all Specials in the chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Feb 2018 13:51:32 GMT</pubDate>
    <dc:creator>whiteymcaces</dc:creator>
    <dc:date>2018-02-26T13:51:32Z</dc:date>
    <item>
      <title>Dynamic Dimension or Expression based on GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11093#M1755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a major App where I have a chart that I want analysis on Stock Items that are on Special.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specials are created in the source data, sometimes there is a single item, and sometimes there are multiple items. When there are multiple items, usually they are the same type of item, but just different colours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a chart that has 1 row per Special, per Region. There are 6 Regions. If there is only 1 Special, then the chart will only have 6 rows. If there are 2 Specials, then the chart will have 12 rows etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Special only has 1 Stock Item then I want the data in the cell under the Heading 'Barcode' to be the actual Barcode, however, if the Special has more than 1 Stock Item, then I want the data in the cell under the Heading "Barcode' to be hard coded to the word 'Various'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are multiple Specials in the same chart, then the ones with 1 Stock Item should have the Barcode, and the ones with more than 1 Stock Item should have 'Various'. All in the same chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be a Calculated Dimension or and Expression - whichever works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 13:41:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11093#M1755</guid>
      <dc:creator>whiteymcaces</dc:creator>
      <dc:date>2018-02-26T13:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimension or Expression based on GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11094#M1756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194588_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;Region&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Count({&amp;lt;hasSpecial = {'1'}&amp;gt;}Barcode) &amp;gt; 1, 'Various', Barcode)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;hasSpecial = {'1'}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 13:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11094#M1756</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-26T13:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimension or Expression based on GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11095#M1757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens with no selections? I need all Specials in the chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 13:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11095#M1757</guid>
      <dc:creator>whiteymcaces</dc:creator>
      <dc:date>2018-02-26T13:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimension or Expression based on GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11096#M1758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see this without selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194590_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection was made to show that if there is only one Barcode, it will show up as the Barcode number rather than Various &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 13:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11096#M1758</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-26T13:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimension or Expression based on GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11097#M1759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There should be up to 4 rows per Region, 1 for each Special. Maximum 24 Row, based on Sales. If the Special has only 1 Stock Item, it should show the Barcode. If the Special has more than 1 Stock Item it should show 'Various' but the Sales should be for all Stock Items within that Special.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 14:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11097#M1759</guid>
      <dc:creator>whiteymcaces</dc:creator>
      <dc:date>2018-02-26T14:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimension or Expression based on GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11098#M1760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194594_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 14:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11098#M1760</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-26T14:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimension or Expression based on GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11099#M1761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but I'm not doing a pivot table, and I don't want to see the Special Dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 14:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11099#M1761</guid>
      <dc:creator>whiteymcaces</dc:creator>
      <dc:date>2018-02-26T14:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimension or Expression based on GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11100#M1762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194595_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 14:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11100#M1762</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-26T14:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimension or Expression based on GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11101#M1763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's looking good. What's the Expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 14:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11101#M1763</guid>
      <dc:creator>whiteymcaces</dc:creator>
      <dc:date>2018-02-26T14:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Dimension or Expression based on GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11102#M1764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Dual(Region, Aggr(Rank(TOTAL Special&amp;amp;Region), Region, Special))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Count({&amp;lt;hasSpecial = {'1'}&amp;gt;}Barcode) &amp;gt; 1, 'Various', Barcode)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;hasSpecial = {'1'}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also attached the sample qvw with my previous response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 14:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Dimension-or-Expression-based-on-GetPossibleCount/m-p/11102#M1764</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-26T14:18:12Z</dc:date>
    </item>
  </channel>
</rss>

