<?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: Getting Previous N Product IDs data in Pivot table with calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453564#M434764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;Thanks for replying &lt;SPAN style="font-size: 10pt;"&gt;but thats not working&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And its a different issue&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhargav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jan 2018 07:27:53 GMT</pubDate>
    <dc:creator>bhargav_bhat</dc:creator>
    <dc:date>2018-01-11T07:27:53Z</dc:date>
    <item>
      <title>Getting Previous N Product IDs data in Pivot table with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453562#M434762</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;&lt;/P&gt;&lt;P&gt;we have a requirement where the user wants previous 'N'&amp;nbsp; no of ProductID when he selects a particular productID. He will provide the value of N using variable extension.&lt;/P&gt;&lt;P&gt;This we were able to achieve if the dimension is only &lt;STRONG&gt;Product ID&lt;/STRONG&gt; but if we use calculated dimension as &lt;STRONG&gt;Pick(Dim, ProductID, 'Variance')&lt;/STRONG&gt; then we get previous ProductID values as null as shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pivot.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189671_Pivot.PNG" style="height: 200px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we tried adding Previous ProductID is set analysis&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;ProductID={1,2,3,4,5}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also we tried ignoring the PRoductID filter&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;ProductID=&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but we were getting null values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any workaround to achieve this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached sample app for reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhargav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 07:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453562#M434762</guid>
      <dc:creator>bhargav_bhat</dc:creator>
      <dc:date>2018-01-11T07:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Previous N Product IDs data in Pivot table with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453563#M434763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you've updated. Perhaps try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Dim, Sum({&amp;lt;ProductID={1,2,3,4,5}&amp;gt;}Amount))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't create duplicate &lt;A _jive_internal="true" href="https://community.qlik.com/message/1415444?et=watches.email.thread#1415444" title="https://community.qlik.com/message/1415444?et=watches.email.thread#1415444"&gt;https://community.qlik.com/message/1415444&lt;/A&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 07:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453563#M434763</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-11T07:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Previous N Product IDs data in Pivot table with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453564#M434764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;Thanks for replying &lt;SPAN style="font-size: 10pt;"&gt;but thats not working&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And its a different issue&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhargav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 07:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453564#M434764</guid>
      <dc:creator>bhargav_bhat</dc:creator>
      <dc:date>2018-01-11T07:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Previous N Product IDs data in Pivot table with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453565#M434765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What this Variance calculated? Normally, When we are working rule from island table it should be calculate 2 measures. Which is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Dim, Sum({&amp;lt;ProductID={1,2,3,4,5}&amp;gt;}Amount), 'Here Variance statement')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 07:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453565#M434765</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-11T07:31:09Z</dc:date>
    </item>
  </channel>
</rss>

