<?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: set analysis and if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032350#M924221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i actually want the sales of the current year for branch 121&amp;nbsp; using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;$(vMeasure_CY) )&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2016 10:06:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-14T10:06:49Z</dc:date>
    <item>
      <title>set analysis and if</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032342#M924213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if have variable which contains if and set analysis and i dont want to change it.&lt;/P&gt;&lt;P&gt;but if i want to add if before the variable - the answer is not correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example - Sales=&lt;/P&gt;&lt;P&gt;$(vMeasure) =&lt;SPAN style="font-size: 13.3333px;"&gt;if(VAT='NO VAT', sum( {&amp;lt; YEAR = {$(vCurrYear)} &amp;gt;} [TOTAL SALE)],sum( {&amp;lt; YEAR = {$(vCurrYear)} &amp;gt;}[TOTAL SALE AND VAT]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to show sales for branch 121 all the time (but still without changing &lt;SPAN style="font-size: 13.3333px;"&gt;$(vMeasure)&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;Sum({&amp;lt;branch={121}&amp;gt;} aggr ($(vMeasure_CY),[month and year]))&amp;nbsp; - But it doesnt work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;How can i do it??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&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/set-analysis-and-if/m-p/1032342#M924213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and if</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032343#M924214</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;Please try &lt;STRONG&gt;Sum({&amp;lt;branch={'121'}&amp;gt;} aggr ($(vMeasure_CY),[month and year]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;and &lt;STRONG&gt;$(vMeasure) =&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(VAT='NO VAT', sum( {&amp;lt; YEAR = {$(vCurrYear)} &amp;gt;} [TOTAL SALE]),sum( {&amp;lt; YEAR = {$(vCurrYear)} &amp;gt;}[TOTAL SALE AND VAT]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 08:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032343#M924214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T08:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and if</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032344#M924215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;thank for you answer - but i dont understand your answer .. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;which line should i try ?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt; the&amp;nbsp; $(vMeasure)&lt;/STRONG&gt;&amp;nbsp; should stay without any change&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 09:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032344#M924215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T09:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and if</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032345#M924216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a small qlikview document that demonstrates the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 09:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032345#M924216</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-14T09:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and if</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032346#M924217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its a bit problem because im using excel &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; and&amp;nbsp; havr lot of sources &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 09:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032346#M924217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T09:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and if</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032347#M924218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Gysbert, would you be able to share a sample to look at the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 09:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032347#M924218</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-14T09:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and if</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032348#M924219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did not understand your problem , could you please elaborate bit more with sample output required&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 09:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032348#M924219</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-04-14T09:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and if</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032349#M924220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again ,&lt;/P&gt;&lt;P&gt;i'll try to be more clear about it -&lt;/P&gt;&lt;P&gt;i have a variable in my model - &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;$(vMeasure_CY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;this variable show the sales for the current year..&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i'm trying to write this set (i dont want to change &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;$(vMeasure_CY) &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Sum({&amp;lt;branch={'121'}&amp;gt;} aggr ($(vMeasure_CY),[month and year]))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but without any success... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 10:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032349#M924220</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T10:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and if</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032350#M924221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i actually want the sales of the current year for branch 121&amp;nbsp; using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;$(vMeasure_CY) )&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 10:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032350#M924221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T10:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and if</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032351#M924222</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 saw some syntax errors so I thought maybe that is why your script was not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 10:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032351#M924222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T10:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and if</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032352#M924223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i wish it was the problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 10:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032352#M924223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T10:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis and if</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032353#M924224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please share the sample data &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 11:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-and-if/m-p/1032353#M924224</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-04-14T11:41:34Z</dc:date>
    </item>
  </channel>
</rss>

