<?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/1453581#M434767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have QS installed. Can you try this way?&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jan 2018 07:23:46 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-01-11T07:23:46Z</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/1453580#M434766</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/189640_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:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453580#M434766</guid>
      <dc:creator>bhargav_bhat</dc:creator>
      <dc:date>2018-01-11T07:19:17Z</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/1453581#M434767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have QS installed. Can you try this way?&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 07:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453581#M434767</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-11T07:23:46Z</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/1453582#M434768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌‌ &lt;/P&gt;&lt;P&gt;Hi Sunny ,&lt;/P&gt;&lt;P&gt;Can you please provide some suggestion to resolve this issue&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhargav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 11:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453582#M434768</guid>
      <dc:creator>bhargav_bhat</dc:creator>
      <dc:date>2018-01-11T11:52:00Z</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/1453583#M434769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So when you select&amp;nbsp; 3 in productID, what exactly do you want to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 12:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453583#M434769</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-11T12:13:37Z</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/1453584#M434770</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;There will be an input box where the user will set the no of Previous IDs to be displayed,&lt;/P&gt;&lt;P&gt;For example if the user sets the value as 12 and he selects ProductID as 15 then in the data grid values from 3 to 15 should be displayed along with measures&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you observe in the screenshot,&amp;nbsp; if we select productid as 3 then all previous ProductID measure values are showing null&lt;/P&gt;&lt;P&gt;Can you help resolve this 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 13:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453584#M434770</guid>
      <dc:creator>bhargav_bhat</dc:creator>
      <dc:date>2018-01-11T13:02:55Z</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/1453585#M434771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;ProductID = {"$(='&amp;gt;=' &amp;amp; (Max(ProductID) - Variable) &amp;amp; '&amp;lt;=' &amp;amp; Max(ProductID))"}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 09:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453585#M434771</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-12T09:24:47Z</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/1453586#M434772</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;I tried that expression but I am getting null values for previous Product IDs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In below example I have selected ProductID as 3&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/189826_Capture.PNG" style="height: 165px; width: 620px;" /&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>Fri, 12 Jan 2018 09:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453586#M434772</guid>
      <dc:creator>bhargav_bhat</dc:creator>
      <dc:date>2018-01-12T09:38:08Z</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/1453587#M434773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you have Pick(Dim,...) in your expression... would you be able to share a sample to see what you might be doing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 11:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453587#M434773</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-12T11:38: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/1453588#M434774</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;We are using Pick(Dim, ProductID, 'Variance') as Dimension because we want measures in columns along with the Dimension.&lt;STRONG&gt;In Qliksense we cannot keep measures in rows and columns at the same time so to overcome this limitation we are using Pick(Dim.ProductID,'Variance' ) .&lt;/STRONG&gt;&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>Fri, 12 Jan 2018 11:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453588#M434774</guid>
      <dc:creator>bhargav_bhat</dc:creator>
      <dc:date>2018-01-12T11:47:33Z</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/1453589#M434775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 11:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-N-Product-IDs-data-in-Pivot-table-with/m-p/1453589#M434775</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-12T11:51:34Z</dc:date>
    </item>
  </channel>
</rss>

