<?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: Add static dimension values with association in Pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066145#M930015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attachment...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2016 12:26:21 GMT</pubDate>
    <dc:creator>PradeepReddy</dc:creator>
    <dc:date>2016-03-15T12:26:21Z</dc:date>
    <item>
      <title>Add static dimension values with association in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066139#M930009</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;I have a Question related to a requirement of adding Static value along with Association in QlikView Pivot table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Region&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;X&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With reference to the above data, I have values A, B, C, D for Region and corresponding Sales coming from the database. &lt;/P&gt;&lt;P&gt;I want to add a new Region X (not present in database) whose sales is calculated based on other regions (For eg : X Sales = A+B-C-D = 100+500 - 20-80 = 500)&lt;/P&gt;&lt;P&gt;I want to have associative property intact, which means the values for X should be calculated dynamically based on filter selection. &lt;/P&gt;&lt;P&gt;For eg : If I choose Product O123 which is only in Region A, B, C..corresponding Sales figures should be used to calculate X Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Region&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;sales&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;O123&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;O123&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;O123&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; In above case, X sales = A+B-C-D = 50+100-10 -0 = 140.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise how this can be done. &lt;/P&gt;&lt;P&gt;Thank you in Advance.&amp;nbsp; &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/Add-static-dimension-values-with-association-in-Pivot/m-p/1066139#M930009</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add static dimension values with association in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066140#M930010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not understanding why you are considering 2 sales. I hope there would be a single sales measure only..&lt;/P&gt;&lt;P&gt;I tried to provide the solution as per my understanding..&lt;/P&gt;&lt;P&gt;see the attachment, it might be helpful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 09:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066140#M930010</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-03-14T09:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add static dimension values with association in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066141#M930011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create an extra table in the script to associate X with the regions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ReportRegion, Region, Factor&lt;/P&gt;&lt;P&gt;X, A, 1&lt;/P&gt;&lt;P&gt;X, B, 1&lt;/P&gt;&lt;P&gt;X, C, -1&lt;/P&gt;&lt;P&gt;X, D, -1&lt;/P&gt;&lt;P&gt;A, A, 1&lt;/P&gt;&lt;P&gt;B, B, 1&lt;/P&gt;&lt;P&gt;C, C, 1&lt;/P&gt;&lt;P&gt;D, D, 1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use ReportRegion as dimension instead of Region and multiply the Sales amount with Factor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 09:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066141#M930011</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-14T09:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Add static dimension values with association in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066142#M930012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the prompt response. It works, however we have numerous Regions and Measures. &lt;/P&gt;&lt;P&gt;Hence defining a condition for every combination of Measure and Region is cumbersome. &lt;/P&gt;&lt;P&gt;Is there a better way to do this. Appreciate your help in this matter. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 10:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066142#M930012</guid>
      <dc:creator />
      <dc:date>2016-03-14T10:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add static dimension values with association in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066143#M930013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then try the solution provide by &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌ It would be generic..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 10:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066143#M930013</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-03-14T10:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add static dimension values with association in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066144#M930014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With reference to the file you shared, when I select any value in Region (Eg: A) the table still shows up all Regions - A, B, C, X. How can we fix this, pls advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 08:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066144#M930014</guid>
      <dc:creator />
      <dc:date>2016-03-15T08:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add static dimension values with association in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066145#M930015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attachment...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 12:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066145#M930015</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-03-15T12:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Add static dimension values with association in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066146#M930016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pradeep,&lt;/P&gt;&lt;P&gt;Thank you for the suggestion. Can we have value X in the list box too and the rows with Region X to populate only when X is chosen from the list box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 04:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066146#M930016</guid>
      <dc:creator />
      <dc:date>2016-03-16T04:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add static dimension values with association in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066147#M930017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope it is not possible..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 05:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-static-dimension-values-with-association-in-Pivot/m-p/1066147#M930017</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-03-16T05:07:34Z</dc:date>
    </item>
  </channel>
</rss>

