<?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 Help with QlikSense Variables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-with-QlikSense-Variables/m-p/17912#M1219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am building an app and have the following variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MaxReviewDate&lt;/STRONG&gt;: DATE(MAX({&amp;lt;Review_Metric={'Number_Of_Reviews'}, Review_Value = {"&amp;gt;0.1"}&amp;gt;} Date_Value),'YYYY-MM-DD' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using it in this measure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;AVG({$&amp;lt; Date_Value = {"$(=$(&lt;STRONG&gt;MaxReviewDate&lt;/STRONG&gt;))"}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;, Review_Metric={'Number_Of_Reviews'}&amp;nbsp; &amp;gt;} Review_Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;When using this in a table i get the following output (please focus on the last two columns):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="QlikHelp.PNG" class="jive-image image-1" height="311" src="https://community.qlik.com/legacyfs/online/194688_QlikHelp.PNG" style="height: 311px; width: 216.063px;" width="216" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The last column shows the variable varying by row, but the middle column is not showing some data points where there definitely should be. It seems the variable is only calculating to 2018-02-26 for all rows in the measure, however you can see it should be changing to 2018-02-19 for the blank rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Is there anything I should be adding to the measure to make the variable calculate row by row?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you for you help,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Colin&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Feb 2018 11:41:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-27T11:41:03Z</dc:date>
    <item>
      <title>Help with QlikSense Variables</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-QlikSense-Variables/m-p/17912#M1219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am building an app and have the following variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MaxReviewDate&lt;/STRONG&gt;: DATE(MAX({&amp;lt;Review_Metric={'Number_Of_Reviews'}, Review_Value = {"&amp;gt;0.1"}&amp;gt;} Date_Value),'YYYY-MM-DD' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using it in this measure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;AVG({$&amp;lt; Date_Value = {"$(=$(&lt;STRONG&gt;MaxReviewDate&lt;/STRONG&gt;))"}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;, Review_Metric={'Number_Of_Reviews'}&amp;nbsp; &amp;gt;} Review_Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;When using this in a table i get the following output (please focus on the last two columns):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="QlikHelp.PNG" class="jive-image image-1" height="311" src="https://community.qlik.com/legacyfs/online/194688_QlikHelp.PNG" style="height: 311px; width: 216.063px;" width="216" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The last column shows the variable varying by row, but the middle column is not showing some data points where there definitely should be. It seems the variable is only calculating to 2018-02-26 for all rows in the measure, however you can see it should be changing to 2018-02-19 for the blank rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Is there anything I should be adding to the measure to make the variable calculate row by row?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you for you help,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Colin&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 11:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-QlikSense-Variables/m-p/17912#M1219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T11:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with QlikSense Variables</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-QlikSense-Variables/m-p/17913#M1220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Creating anything with a $-sign expansion means to create an adhoc-variable which could have only one value at a time. This meant that the content of these variables is evaluated ones before the chart is calculated and applied to each row - in no way it could be used on row-level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This meant you need a different approach, maybe this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(&lt;SPAN style="font-size: 13.3333px;"&gt;Date_Value = $(&lt;STRONG&gt;MaxReviewDate&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;AVG({$&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Review_Metric={'Number_Of_Reviews'} &amp;gt;} Review_Value))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- Marcus&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 09:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-QlikSense-Variables/m-p/17913#M1220</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-02-28T09:14:05Z</dc:date>
    </item>
  </channel>
</rss>

