<?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: Referencing Set Analysis from a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263935#M398352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question answered, You may create another thread by ref of this thread number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your question, May be this? I've removed the single colon for variable. Don't worry about error in expression on top. Because you are creating single variable only not helping of any field. It will work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&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;STRONG&gt;=sum({$&amp;lt;$(vEFT_VOL_CP)&amp;gt;} [EFT Volume] )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Apr 2017 06:52:08 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-04-03T06:52:08Z</dc:date>
    <item>
      <title>Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263926#M398343</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 have an expression Count({&amp;lt;[Student Id]=, [Location]=, [State]=&amp;gt; [Transcript Completion]} that returns me a count.&lt;/P&gt;&lt;P&gt;Now, I want to store the set analysis used in the above expression in a variable and reference the variable in the count expression. How do I do it?&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, 09 Mar 2017 21:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263926#M398343</guid>
      <dc:creator />
      <dc:date>2017-03-09T21:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263927#M398344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET&amp;nbsp; vSet = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;[Student Id]=, [Location]=, [State]=&amp;gt;}';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or in the variable overview create the variable and assign the set analysis part (without single quotes):&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;{&amp;lt;[Student Id]=, [Location]=, [State]=&amp;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;&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;Then in your expression, use dollar sign expansion:&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;=Count( &lt;STRONG&gt;$(vSet)&lt;/STRONG&gt; [Transcript Complete])&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;&lt;A href="https://community.qlik.com/qlik-blogpost/3444"&gt;The Magic of Dollar Expansions&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 22:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263927#M398344</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-09T22:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263928#M398345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this approach, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Count( &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(vSet)&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; [Transcript Complete])&lt;/SPAN&gt; , but the dimension of [Transcript Complete] is not getting resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 22:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263928#M398345</guid>
      <dc:creator />
      <dc:date>2017-03-09T22:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263929#M398346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't get what you mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you talking about the syntax checker in the expression dialog? Don't worry if there is a red wiggly line, the syntax checker is not able to understand the dollar sign expansion correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should still work though, just test it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 22:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263929#M398346</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-09T22:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263930#M398347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am talking about the red wiggly line in the expression dialog. I tried it but I get an "Error in Expression" &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 22:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263930#M398347</guid>
      <dc:creator />
      <dc:date>2017-03-09T22:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263931#M398348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a small sample QVW, or screenshots of your original working expression and then from the variable overview and the expression dialog using the variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 22:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263931#M398348</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-09T22:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263932#M398349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The red wiggly line is just because the expression parser in QlikView doesn't know how to check the expression correctly when it has a $-sign expansion. It will work anyway - just check that you get values in the column in the chart...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 22:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263932#M398349</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-03-09T22:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263933#M398350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the following link if it helps you?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-17393"&gt;Qlikview Parameterised Variables&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 08:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263933#M398350</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2017-03-10T08:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263934#M398351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, &lt;/P&gt;&lt;P&gt;this is the part in my script that creates the set analysis part:&lt;/P&gt;&lt;P&gt;Let vCurrentCycle = Peek('Cycle Calendar Period',0,'Cycles');&lt;/P&gt;&lt;P&gt;Let vPrevMonthCycle = vCurrentCycle-1;&lt;/P&gt;&lt;P&gt;let vPrevYearCycle = vCurrentCycle-100;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vEFT_VOL_CP = '{&amp;lt;[Cycle Calendar Period]={$(vCurrentCycle)}&amp;gt;}';&lt;/P&gt;&lt;P&gt;Let vEFT_VOL_PP = '{&amp;lt;[Cycle Calendar Period]={$(vPrevYearCycle)}&amp;gt;}';&lt;/P&gt;&lt;P&gt;Let vEFT_VOL_CP = '{&amp;lt;[Cycle Calendar Period]={$(vPrevMonthCycle)}&amp;gt;}';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my equation i'm trying this:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;'$(vEFT_VOL_CP) '&amp;gt;} [EFT Volume] ), i have also tried your method (which returns an error), and this one returns an incorrect value, what is it i'm doing wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 06:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263934#M398351</guid>
      <dc:creator />
      <dc:date>2017-04-03T06:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263935#M398352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question answered, You may create another thread by ref of this thread number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your question, May be this? I've removed the single colon for variable. Don't worry about error in expression on top. Because you are creating single variable only not helping of any field. It will work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&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;STRONG&gt;=sum({$&amp;lt;$(vEFT_VOL_CP)&amp;gt;} [EFT Volume] )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 06:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263935#M398352</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-03T06:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263936#M398353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i get the following Error,&lt;/P&gt;&lt;P&gt;Error: Error in set modifier expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 06:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263936#M398353</guid>
      <dc:creator />
      <dc:date>2017-04-03T06:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263937#M398354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is what i mentioned clearly of my previous reply. Go and hit OK then see how it works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Note:&lt;/STRONG&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Don't worry about error in expression on top. Because you are creating single variable only with in set analysis not helping of any field. It will work&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 06:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263937#M398354</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-03T06:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Set Analysis from a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263938#M398355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly what i did, i am testing this in a text box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 07:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Set-Analysis-from-a-variable/m-p/1263938#M398355</guid>
      <dc:creator />
      <dc:date>2017-04-03T07:04:45Z</dc:date>
    </item>
  </channel>
</rss>

