<?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: Pivot Table: Measures with fixed dimension values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Measures-with-fixed-dimension-values/m-p/1609903#M45298</link>
    <description>&lt;P&gt;Hi Florian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Might you please share the solution...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having the same problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thansk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2019 15:15:15 GMT</pubDate>
    <dc:creator>mmercol2019</dc:creator>
    <dc:date>2019-08-06T15:15:15Z</dc:date>
    <item>
      <title>Pivot Table: Measures with fixed dimension values</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Measures-with-fixed-dimension-values/m-p/94393#M6281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Sense colleagues,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following issue. I have 2 filters (PlanningVersion, Year), 1 dimension (Cost Center) and 1 Measure (Value). Everything is fine if I create a Pivot Table with the Cost Centers in the rows, PlanningVersion in the columns and the Value as measure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to add two additional measures with fixed dimension values to the Pivot Table: v_A0_2019 and v_000_2018&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_A0_2019 = Sum( {1&amp;lt; PlanningVersion = {'A0'},Year = {'2019'} &amp;gt;} Value)&lt;/P&gt;&lt;P&gt;v_000_2018 = Sum( { 1&amp;lt; PlanningVersion = {'Vorjahr (000)'},Year = {'2018'} &amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I see the sum value of both columns/measures in every cell of each column (and not the value for every single cost center in the rows). But why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can't use an expression without an aggregation in Qlik Sense (except only, which doesn't make sense in this topic in my opinion).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 19:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Measures-with-fixed-dimension-values/m-p/94393#M6281</guid>
      <dc:creator>florian_bertsch</dc:creator>
      <dc:date>2018-08-16T19:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: Measures with fixed dimension values</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Measures-with-fixed-dimension-values/m-p/94394#M6282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Sense colleagues,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my problem is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to set the variable as a &lt;EM&gt;string of expression&lt;/EM&gt; (not the expression itself), then use &lt;EM&gt;=$(vVariable)&lt;/EM&gt; in the measure definition. For this case, the solution is to remove the beginning equal sign ( &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt; in variable &lt;EM&gt;v_A0_2019&lt;/EM&gt;,&lt;EM&gt; &lt;/EM&gt;then use &lt;EM&gt;&lt;STRONG&gt;=$(v_A0_2019)&lt;/STRONG&gt;&lt;/EM&gt; as measure definition in the pivot table. Qlik Sense will then treat &lt;EM&gt;v_A0_2019&lt;/EM&gt; as a string, and does not evaluate the variable before applying to the pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 12:07:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Measures-with-fixed-dimension-values/m-p/94394#M6282</guid>
      <dc:creator>florian_bertsch</dc:creator>
      <dc:date>2018-08-29T12:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table: Measures with fixed dimension values</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Table-Measures-with-fixed-dimension-values/m-p/1609903#M45298</link>
      <description>&lt;P&gt;Hi Florian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Might you please share the solution...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having the same problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thansk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 15:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Table-Measures-with-fixed-dimension-values/m-p/1609903#M45298</guid>
      <dc:creator>mmercol2019</dc:creator>
      <dc:date>2019-08-06T15:15:15Z</dc:date>
    </item>
  </channel>
</rss>

