<?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: Expression Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/1162614#M889916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it must be using Alternate States&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2016 10:05:54 GMT</pubDate>
    <dc:creator>saimahasan</dc:creator>
    <dc:date>2016-08-24T10:05:54Z</dc:date>
    <item>
      <title>Expression Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/1162613#M889915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, I refer one application created by previous staff and facing some issue on the expression syntax in certain object. Can anyone explain to me what expression actually did?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is expression in the chart:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count($(vExp$(=vCustomer)G1([Transaction ID])))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vCustomer&lt;/EM&gt; = variable that allow user to choose 'Sender' or 'Receiver'. In this case, let me set the assumption for the &lt;EM&gt;vCustomer&lt;/EM&gt; = 'Sender'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;EM&gt;[Transaction ID]&lt;/EM&gt; = field already load into QlikView&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As my understanding in QlikView, after the user select 'Sender' for the &lt;EM&gt;vCustomer&lt;/EM&gt;, the expression will change to the following syntax:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;Count($(vExpSenderG1([Transaction ID])))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I have a following variable in my QlikView application&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vExpSenderG1&lt;/EM&gt; = variable that contain value : &lt;STRONG&gt;&lt;EM&gt;{$&amp;lt;[Sender Name]=$::[Sender Name],[Receiver Name]=&amp;gt;}$1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Sender Name]&lt;/EM&gt; = field &lt;SPAN style="font-size: 13.3333px;"&gt;already&lt;/SPAN&gt; load into QlikView&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Receiver Name]&lt;/EM&gt; = field &lt;SPAN style="font-size: 13.3333px;"&gt;already&lt;/SPAN&gt; load into QlikView&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I interpret the expression is doing the count of the "&lt;EM&gt;[Transaction ID]&lt;/EM&gt;" where the "&lt;EM&gt;[Sender Name]&lt;/EM&gt;" is equal to "&lt;EM&gt;[Sender Name]&lt;/EM&gt;" in current selection but with selection in "&lt;EM&gt;[Receiver Name]&lt;/EM&gt;" removed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Based on my understanding, the &lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;$ &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;symbol means that current selection and &lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;$1 &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;means previous selection. Anyone can explain to me why the expression need $ at the first position and $1 at the end of the expression?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&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/Expression-Question/m-p/1162613#M889915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/1162614#M889916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it must be using Alternate States&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 10:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/1162614#M889916</guid>
      <dc:creator>saimahasan</dc:creator>
      <dc:date>2016-08-24T10:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Question</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/1162615#M889917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it using Alternate State. But, at the end how the expression did?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 01:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Question/m-p/1162615#M889917</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-25T01:02:43Z</dc:date>
    </item>
  </channel>
</rss>

