<?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: weird behavior with pivot table or set with agg expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226961#M858438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working fine now, Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2017 06:18:38 GMT</pubDate>
    <dc:creator>devarasu07</dc:creator>
    <dc:date>2017-01-25T06:18:38Z</dc:date>
    <item>
      <title>weird behavior with pivot table or set with agg expression?</title>
      <link>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226954#M858431</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;Please refer to the sample attachment, I've pivot table report with calculated dimension and expression used. facing below issue. is this expression issue or pivot table bug? kindly advise me. Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue:&lt;/P&gt;&lt;P&gt;I have list box which contains two values (SLG and Shades). if i select Shades the pivot table dimensional column missing. seems agg with set analysis is makking issue or something else?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="150732" alt="1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150732_1.jpg" style="height: 260px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Note: No issue when i select other filter value (SLG), only pivot table column dispapper when we selected as "Shades"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Deva&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/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226954#M858431</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: weird behavior with pivot table or set with agg expression?</title>
      <link>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226955#M858432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am seeing this issue and someone else also pointed it out here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/247355"&gt;Dimension(Column) missing in Pivot when there is Null&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 17:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226955#M858432</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-24T17:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: weird behavior with pivot table or set with agg expression?</title>
      <link>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226956#M858433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, but my case Primary key field missing (it's not null value). but other calculated dimension has null will this cause the problem? thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 17:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226956#M858433</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-01-24T17:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: weird behavior with pivot table or set with agg expression?</title>
      <link>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226957#M858434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think calculated dimensions are what is causing issue here.... Not sure I understand the cause....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 17:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226957#M858434</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-24T17:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: weird behavior with pivot table or set with agg expression?</title>
      <link>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226958#M858435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your problem lies in the 3rd Calculated Dimension labeled "Theme". The if() returns null because SKUTheme contains no values for Shades. Yo can fix it by wrapping the if() in an aggr() to preserve the dimensionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(&lt;/P&gt;&lt;P&gt;..long nested if&lt;/P&gt;&lt;P&gt;,Launch_No,SKUTheme)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimension labeled "Repeat" is also problematic when selecting SLG.&amp;nbsp; Not sure what the fix is for that one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 18:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226958#M858435</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-01-24T18:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: weird behavior with pivot table or set with agg expression?</title>
      <link>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226959#M858436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your valuable input, tried with your suggestion but still it's not working. is there any alternate method to write below expression? kindly advise. once again thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;=aggr(if((Count({&amp;lt;Year={'*'},Week={'*'},Type_ID={'RO'},Delivery_status={'Ongoing'}&amp;gt;} distinct OrderQty))&amp;gt;0, 'Repeat', '0'),Launch_No,SKUTheme, &lt;SPAN style="font-size: 13.3333px;"&gt;ArticleNo&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 18:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226959#M858436</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-01-24T18:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: weird behavior with pivot table or set with agg expression?</title>
      <link>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226960#M858437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add an inner aggr() to your original expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(if(aggr(Count({&amp;lt;Year={'*'},Week={'*'},Type_ID={'RO'}&amp;gt;} distinct OrderQty),ArticleNo)&amp;gt;0, 'Repeat', '0'),ArticleNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this only makes sense to me if you move this dimension after ArticleNo in the chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 05:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226960#M858437</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-01-25T05:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: weird behavior with pivot table or set with agg expression?</title>
      <link>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226961#M858438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working fine now, Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 06:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weird-behavior-with-pivot-table-or-set-with-agg-expression/m-p/1226961#M858438</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-01-25T06:18:38Z</dc:date>
    </item>
  </channel>
</rss>

