<?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: Qlik sense variable calculation before expression evaluation fails. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-sense-variable-calculation-before-expression-evaluation/m-p/1599164#M44296</link>
    <description>&lt;P&gt;what about using the below expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vKM_Avenio&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;count(distinct {&amp;lt;[workorder.worktype]={"STO"}&amp;gt;} workorder.wonum)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2019 15:14:46 GMT</pubDate>
    <dc:creator>agigliotti</dc:creator>
    <dc:date>2019-07-04T15:14:46Z</dc:date>
    <item>
      <title>Qlik sense variable calculation before expression evaluation fails.</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-variable-calculation-before-expression-evaluation/m-p/1599108#M44287</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following issue:&lt;/P&gt;&lt;P&gt;I want to use the numerical value of&amp;nbsp; a variable (as a constant) instead of the expression in a pivot table.&lt;/P&gt;&lt;P&gt;The expression for the variable in the variable editor is the following: =Sum({1&amp;lt;Jaar = P(), DateID={"TRANSDATE"}, [asset.htm_tramtype_description] ={"Avenio"},[asset.assettype]={"TRAM"}&amp;gt;}[meterreading.delta])&lt;/P&gt;&lt;P&gt;The pivot table has one dimension and looks like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KnipselQlikVariable.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14921i49A7BD5C4B10B3CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="KnipselQlikVariable.PNG" alt="KnipselQlikVariable.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The expression for the measure in the pivot table :&amp;nbsp;&lt;/P&gt;&lt;P&gt;$(vKM_Avenio)&lt;BR /&gt;/&lt;BR /&gt;count(distinct {&amp;lt;[workorder.worktype]={"STO"}&amp;gt;} workorder.wonum)&lt;/P&gt;&lt;P&gt;As you can see in the picture above,&amp;nbsp; in the pivot chart only null is displayed for the measure. The expression "count(distinct {&amp;lt;[workorder.worktype]={"STO"}&amp;gt;} workorder.wonum)" has an association with the dimension so this is not the cause. The expression underneath the variable vKM_Avenio does not have an association with the dimension, but since the variable has been defined with a preceeding "=" sign, I expected that this would work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong here? Or is this just not possible with Qlik Sense?&lt;/P&gt;&lt;P&gt;Help is much appreciated!&lt;/P&gt;&lt;P&gt;Kind Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Junior&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-variable-calculation-before-expression-evaluation/m-p/1599108#M44287</guid>
      <dc:creator>jjmartegarcia</dc:creator>
      <dc:date>2021-12-20T21:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense variable calculation before expression evaluation fails.</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-variable-calculation-before-expression-evaluation/m-p/1599114#M44289</link>
      <description>&lt;P&gt;it seems the variable "&lt;SPAN&gt;vKM_Avenio" value&amp;nbsp;&lt;/SPAN&gt;is correct (18871758,50).&lt;BR /&gt;let's try using "&lt;SPAN&gt;count(distinct {&amp;lt;[workorder.worktype]={"STO"}&amp;gt;} workorder.wonum)" as expression in your pivot table to see what you get.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 13:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-variable-calculation-before-expression-evaluation/m-p/1599114#M44289</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2019-07-04T13:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense variable calculation before expression evaluation fails.</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-variable-calculation-before-expression-evaluation/m-p/1599123#M44292</link>
      <description>&lt;P&gt;Hi Agigliotti,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I get:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KnipselQlikVariable2.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14923i7F43D395ABE2AF81/image-size/large?v=v2&amp;amp;px=999" role="button" title="KnipselQlikVariable2.PNG" alt="KnipselQlikVariable2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Junior&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 13:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-variable-calculation-before-expression-evaluation/m-p/1599123#M44292</guid>
      <dc:creator>jjmartegarcia</dc:creator>
      <dc:date>2019-07-04T13:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense variable calculation before expression evaluation fails.</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-variable-calculation-before-expression-evaluation/m-p/1599164#M44296</link>
      <description>&lt;P&gt;what about using the below expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vKM_Avenio&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;count(distinct {&amp;lt;[workorder.worktype]={"STO"}&amp;gt;} workorder.wonum)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 15:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-variable-calculation-before-expression-evaluation/m-p/1599164#M44296</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2019-07-04T15:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense variable calculation before expression evaluation fails.</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-variable-calculation-before-expression-evaluation/m-p/1599219#M44307</link>
      <description>&lt;P&gt;Thanks Agigliotti!&lt;/P&gt;&lt;P&gt;This does the job.&lt;/P&gt;&lt;P&gt;I'm curious to know where you got this information from. This is what &lt;A href="https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Variables/use-variables-expression.htm" target="_self"&gt;Qlik help&lt;/A&gt; explains.&lt;/P&gt;&lt;P&gt;Kind Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Junior&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 21:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-variable-calculation-before-expression-evaluation/m-p/1599219#M44307</guid>
      <dc:creator>jjmartegarcia</dc:creator>
      <dc:date>2019-07-04T21:18:36Z</dc:date>
    </item>
  </channel>
</rss>

