<?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: variable expression explained in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variable-expression-explained/m-p/1204230#M387219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sunny, is it possible to define the expression better ? because at the moment even though it seems to work I can see it says [Expression Error] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what we have in the dashboard is actually buttons 1-&amp;nbsp; (Sale vale XYZ)&amp;nbsp; 2- &lt;SPAN style="font-size: 13.33px;"&gt;(Sale vale ABC) 3-&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.33px;"&gt;(Sale vale DEF&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;so when users click on the buttons it will sort by that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you suggest a different way of doing this because I have almost 15 expressions on different charts written in the same method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2016 03:14:18 GMT</pubDate>
    <dc:creator>didierodayo</dc:creator>
    <dc:date>2016-10-06T03:14:18Z</dc:date>
    <item>
      <title>variable expression explained</title>
      <link>https://community.qlik.com/t5/QlikView/variable-expression-explained/m-p/1204227#M387216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hello ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I am reviewing a qlik document and can't work out what this expression is doing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt;"&gt;IF(ONLY({$&amp;lt;device= {'Frizer'}&amp;gt;} [Sale value $(vL.SaleValue)] / Pricevariable) &amp;gt;= Pricevariable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt;"&gt;only &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;{$&amp;lt;device= {'Frizer'}&amp;gt;}[Sale value $(vL.SaleValue)]&amp;nbsp; / Pricevariable&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Question:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt;"&gt;the expression work fine but what I don't understand is that there is no field in the called &lt;STRONG&gt;Sales value&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt;"&gt;there is a variable called $(vL.SaleValue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt;"&gt;why is the variable written is this format &lt;STRONG&gt;[Sale value $(vL.SaleValue)]&lt;/STRONG&gt; inside the expression?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt;"&gt;Thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 01:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-expression-explained/m-p/1204227#M387216</guid>
      <dc:creator>didierodayo</dc:creator>
      <dc:date>2016-10-06T01:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: variable expression explained</title>
      <link>https://community.qlik.com/t5/QlikView/variable-expression-explained/m-p/1204228#M387217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There might be multiple fields in your dashboard which might start with Sale value, right? Like for instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sale vale XYZ&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sale vale ABC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sale vale DEF&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;/P&gt;&lt;P&gt;It seems that the variable vL.SaleValue is dynamically switching between XYZ, ABC, and DEF field....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 01:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-expression-explained/m-p/1204228#M387217</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-06T01:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: variable expression explained</title>
      <link>https://community.qlik.com/t5/QlikView/variable-expression-explained/m-p/1204229#M387218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Thanks Sunny, I just realised that is the case it is reading the value from those fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 03:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-expression-explained/m-p/1204229#M387218</guid>
      <dc:creator>didierodayo</dc:creator>
      <dc:date>2016-10-06T03:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: variable expression explained</title>
      <link>https://community.qlik.com/t5/QlikView/variable-expression-explained/m-p/1204230#M387219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sunny, is it possible to define the expression better ? because at the moment even though it seems to work I can see it says [Expression Error] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what we have in the dashboard is actually buttons 1-&amp;nbsp; (Sale vale XYZ)&amp;nbsp; 2- &lt;SPAN style="font-size: 13.33px;"&gt;(Sale vale ABC) 3-&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.33px;"&gt;(Sale vale DEF&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;so when users click on the buttons it will sort by that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you suggest a different way of doing this because I have almost 15 expressions on different charts written in the same method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 03:14:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-expression-explained/m-p/1204230#M387219</guid>
      <dc:creator>didierodayo</dc:creator>
      <dc:date>2016-10-06T03:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: variable expression explained</title>
      <link>https://community.qlik.com/t5/QlikView/variable-expression-explained/m-p/1204231#M387220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Expression Error can be ignored if the expression itself isn't giving you any trouble. I might only be able to give recommendations if I can see what exactly are you doing. Do you think you can share a sample ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 11:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-expression-explained/m-p/1204231#M387220</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-06T11:16:50Z</dc:date>
    </item>
  </channel>
</rss>

