<?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: Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables/m-p/1451237#M816122</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cindy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are NOT using the "=" sign when writing a formula in the variable and then you call it in a chart, that's the moment when it gets evaluated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When Using the "=", the variable already evaluates the expression and gets you a result (and from what i've seen the result is like a total or average of something, depending on your formula)&amp;nbsp; and when you call it in the table it brings you one value for the whole dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Sep 2017 11:29:05 GMT</pubDate>
    <dc:creator>andrei_delta</dc:creator>
    <dc:date>2017-09-08T11:29:05Z</dc:date>
    <item>
      <title>Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/1451235#M816119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on a dashboard and created a table&amp;nbsp; in the visualizations. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created variables and used them in my table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the content of my variable is:&amp;nbsp; round($(vTotal Revenue)/Count(DISTINCT(if([Billing Period] &amp;gt;= Parcel_Signature_Week,([Billing Period]))))*52,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get a different result&amp;nbsp; if the content of my variable is: =round($(vTotal Revenue)/Count(DISTINCT(if([Billing Period] &amp;gt;= Parcel_Signature_Week,([Billing Period]))))*52,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula itself is correct.&amp;nbsp; The = sign seems to be what causes the difference in results within my table. &lt;/P&gt;&lt;P&gt;Can someone explain why I get 2 different results? Why does adding the equal sign change the output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&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/Variables/m-p/1451235#M816119</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/1451236#M816121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better you can use this expression on variable&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;round($(vTotal Revenue)/Count(DISTINCT(if([Billing Period] &amp;gt;= Parcel_Signature_Week,([Billing Period]))))*52,1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and then use variable in expression because when using AGGR key words with expression (SUM,COUNT,AVG...) equals sign by default puts above the expression. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Ex:-&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Expression &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=$(vSum)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 16:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/1451236#M816121</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-07T16:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/1451237#M816122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cindy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are NOT using the "=" sign when writing a formula in the variable and then you call it in a chart, that's the moment when it gets evaluated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When Using the "=", the variable already evaluates the expression and gets you a result (and from what i've seen the result is like a total or average of something, depending on your formula)&amp;nbsp; and when you call it in the table it brings you one value for the whole dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 11:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/1451237#M816122</guid>
      <dc:creator>andrei_delta</dc:creator>
      <dc:date>2017-09-08T11:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Variables/m-p/1451238#M816123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly the explanation I was looking for,&amp;nbsp; THANK YOU!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 18:07:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables/m-p/1451238#M816123</guid>
      <dc:creator />
      <dc:date>2017-09-08T18:07:36Z</dc:date>
    </item>
  </channel>
</rss>

