<?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 Pivot Table and Variable in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Variable-in-Set-Analysis/m-p/214870#M502556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Variables are calculated before applying pivot dimensions. If you need pivot dimensions applied you should not use variables with expressions that depend on pivot dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using direct expressions instead of variables, if possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2012 21:06:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-20T21:06:56Z</dc:date>
    <item>
      <title>Pivot Table and Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Variable-in-Set-Analysis/m-p/214868#M502554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, guys.&lt;/P&gt;&lt;P&gt;I have some problems with my pivot table. I hope you can help me... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you look at my qvw example you will see, that I want to calculate EANs, which should have ROS &amp;gt;= Median of ROS. (see in first expression of my pivot):&lt;/P&gt;&lt;P&gt;count({&amp;lt;[ROS]={"&amp;gt;= $(vROSMedian)"}&amp;gt;} [EAN]),&lt;/P&gt;&lt;P&gt;where vROSMedian =Round(MEDIAN({&amp;lt;[Manufacturer] =}&amp;gt;}[ROS]))&lt;/P&gt;&lt;P&gt;Problem is in the variable vROSMedian. this variable calculate by current selections, but not by pivot dimensions (as I want).&lt;/P&gt;&lt;P&gt;ROSMedian should calculate by Time and by Sales Channel and if you will see in second expression, you will see the correct value of ROSMedian.&lt;/P&gt;&lt;P&gt;but now if you look at the header of first expression, you will see, that vROSMedian = 751 for all lines. It's not correct&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3025_sourceID:3025" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so count of EANs isn't correct also &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But If I select one Time and one Sales Channel - I will get correct numbers in first expression&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3026_sourceID:3026" /&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I can resolve my problem? I want get correct numbers without selections in [Time] and [Sales Channel] fields.&lt;/P&gt;&lt;P&gt;I will be glad to hear any ideas, thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 08:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Variable-in-Set-Analysis/m-p/214868#M502554</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-12-07T08:12:59Z</dc:date>
    </item>
    <item>
      <title>Pivot Table and Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Variable-in-Set-Analysis/m-p/214869#M502555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No ideas? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 07:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Variable-in-Set-Analysis/m-p/214869#M502555</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-12-08T07:05:39Z</dc:date>
    </item>
    <item>
      <title>Pivot Table and Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Variable-in-Set-Analysis/m-p/214870#M502556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Variables are calculated before applying pivot dimensions. If you need pivot dimensions applied you should not use variables with expressions that depend on pivot dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using direct expressions instead of variables, if possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 21:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Variable-in-Set-Analysis/m-p/214870#M502556</guid>
      <dc:creator />
      <dc:date>2012-01-20T21:06:56Z</dc:date>
    </item>
  </channel>
</rss>

