<?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: if statement in set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388799#M807596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! I was making adaptions in the variable with ' &amp;amp; " but nothing seemed to work there. So I wouldn't come up with the idea of changing the 'source' variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it works, very happy with that!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Oct 2017 12:07:41 GMT</pubDate>
    <dc:creator>thomasreynaert</dc:creator>
    <dc:date>2017-10-19T12:07:41Z</dc:date>
    <item>
      <title>if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388788#M807585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone explain so I understand QV logic better why this is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Not a working formula&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Count({$&amp;lt;[so_order_date_YYYYMM]={"&amp;gt;=$(=min(date($(vPeriod3),'YYYYMM')))&amp;lt;=$(=max(date($(vPeriod4),'YYYYMM')))"},so_order_date_month={$(vExp_Selected_Date_Month)},&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$(vExp_Unselect_datefields),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If($(vShowUSLogic)=0,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;$(vStock),$(vStockUS))&lt;/STRONG&gt;,$(vExternalClients),$(vExcludingArticleTypes)&amp;gt;}&amp;nbsp; so_ordernumber)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;Working formula &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;If($(vShowUSLogic)=0,&lt;/STRONG&gt;Count({$&amp;lt;[so_order_date_YYYYMM]={"&amp;gt;=$(=min(date($(vPeriod3),'YYYYMM')))&amp;lt;=$(=max(date($(vPeriod4),'YYYYMM')))"},&lt;SPAN style="font-size: 10pt;"&gt;so_order_date_month{$(vExp_Selected_Date_Month)},$(vExp_Unselect_datefields), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(vStock)&lt;/STRONG&gt;,$(vExternalClients),$(vExcludingArticleTypes)&amp;gt;}&amp;nbsp; so_ordernumber) , &lt;/P&gt;&lt;P&gt;Count({$&amp;lt;[so_order_date_YYYYMM]={"&amp;gt;=$(=min(date($(vPeriod3),'YYYYMM')))&amp;lt;=$(=max(date($(vPeriod4),'YYYYMM')))"},so_order_date_month={$(vExp_Selected_Date_Month)},$(vExp_Unselect_datefields),&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(vStockUS)&lt;/STRONG&gt;,$(vExternalClients),$(vExcludingArticleTypes)&amp;gt;}&amp;nbsp; so_ordernumber)&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;vStock &amp;amp; vStockUS are just variables containing a selection: delivertime_desc={'A','B','C'}&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/if-statement-in-set-expression/m-p/1388788#M807585</guid>
      <dc:creator>thomasreynaert</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388789#M807586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can initiate highlighted one is &lt;STRONG style="color: #ff0000; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;vShowUSLogic??&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Count({$&amp;lt;[so_order_date_YYYYMM]={"&amp;gt;=$(=min(date($(vPeriod3),'YYYYMM')))&amp;lt;=$(=max(date($(vPeriod4),'YYYYMM')))"},so_order_date_month={$(vExp_Selected_Date_Month)},&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;$(vExp_Unselect_datefields)&lt;/STRONG&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;If($(vShowUSLogic)=0,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;$(vStock),$(vStockUS))&lt;/STRONG&gt;,$(vExternalClients),$(vExcludingArticleTypes)&amp;gt;}&amp;nbsp; so_ordernumber)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 09:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388789#M807586</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-18T09:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388790#M807587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not working how? Incorrect numbers or zero or error? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its really hard to debug an expression like this using so many variables, any one of which may or may not be contributing to the problem. The correct way to debug and fix this is to replace all the variables with the expected values, and remove selections and other elements that are not part of the problem. When its working, then re-insert the variables one at time to confirm that the variables are working as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, Count(...If()) and If(Count(...)) are logically different operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(...If()) will iterate over the value and include only those that match the If() condition,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(,,,(Count()) will only evaluate (over all values) if the condition is met, otherwise it will be null&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 09:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388790#M807587</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-10-18T09:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388791#M807588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Jonathan: well it will gives me no value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did as suggested until I removed all variables.Still I have the same result:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Does not work&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;If($(vShowUSLogic)=0,$(vStock),$(vStockUS))&amp;gt;} so_ordernumber)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Works:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If($(vShowUSLogic)=0,Count({$&amp;lt;$(vStock)&amp;gt;} so_ordernumber),Count({$&amp;lt;$(vStockUS)&amp;gt;} so_ordernumber))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI vShowUSLogic=if(LOG_Company='USCompany' and $(vUSLogicActive)=1 and Count(DISTINCT so_branch)&amp;gt;1,1,0)&lt;/P&gt;&lt;P&gt;vUSLogicActive is just a button that users can toggle so it will give 0 or 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 10:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388791#M807588</guid>
      <dc:creator>thomasreynaert</dc:creator>
      <dc:date>2017-10-18T10:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388792#M807589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When the variable is just Toggle This won't work as expected. Because Left side condition won't work in Set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 10:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388792#M807589</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-18T10:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388793#M807590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So even if the variable works perfectly, should I avoid using it in the set expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also to the point of Jonathan: &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;That said, Count(...If()) and If(Count(...)) are logically different operations.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What can I do, to get the result I want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 15:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388793#M807590</guid>
      <dc:creator>thomasreynaert</dc:creator>
      <dc:date>2017-10-18T15:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388794#M807591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you just put this "&lt;STRONG&gt;=&lt;/STRONG&gt;If($(vShowUSLogic)=0,$(vStock),$(vStockUS))" into a separate variable that you then call in your set expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 21:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388794#M807591</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2017-10-18T21:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388795#M807592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;@Jonathan: well it will gives me no value. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variables work great in set expressions - I use them all the time. But I develop complex expressions like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Build the expression in the simplest form (without any variables). Test.&lt;/LI&gt;&lt;LI&gt;Extend the expression withe the extra bells and whistles. Test thoroughly.&lt;/LI&gt;&lt;LI&gt;Identify what parts can be coded as variables (usually stuff that is common to many expressions) and develop and test the variables thoroughly&lt;/LI&gt;&lt;LI&gt;Substitute the variables into the expression and test again to make sure that they are working correctly.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And no, you did not remove the variables,&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;EM&gt;Count({$&amp;lt;If($(&lt;STRONG&gt;vShowUSLogic&lt;/STRONG&gt;)=0,$(&lt;STRONG&gt;vStock&lt;/STRONG&gt;),$(&lt;STRONG&gt;vStockUS&lt;/STRONG&gt;))&amp;gt;} so_ordernumber)&lt;/EM&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;EM&gt;&lt;BR /&gt;&lt;/EM&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 &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;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Does not work&lt;/STRONG&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;gives no information about how to fix&amp;nbsp; your expressions &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 05:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388795#M807592</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-10-19T05:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388796#M807593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lorenzo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That really seems a good idea. However my formula would not calculate. It seems like it is impossible to replace the variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 10:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388796#M807593</guid>
      <dc:creator>thomasreynaert</dc:creator>
      <dc:date>2017-10-19T10:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388797#M807594</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;Thanks for all your patience so far!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really downsized the problem to a ridiculously simple example attached. &lt;/P&gt;&lt;P&gt;As you can see, both variables ( true and false variable) work, as does the condition variable. In the example attached you can see '53' or '73' as values. Basically I want to be able to switch between the 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that ,referring to my original post, simply changing the formula to&lt;/P&gt;&lt;P&gt;=If($(vShowCondition)=0,Sum({$&amp;lt;$(vRepSel1)&amp;gt;}Amount),&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({$&amp;lt;$(vRepSel2)&amp;gt;}Amount)) is not what I am looking for. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 11:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388797#M807594</guid>
      <dc:creator>thomasreynaert</dc:creator>
      <dc:date>2017-10-19T11:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388798#M807595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've modified your variables so now only the box on top right works but that's expected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lorenzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 11:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388798#M807595</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2017-10-19T11:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388799#M807596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! I was making adaptions in the variable with ' &amp;amp; " but nothing seemed to work there. So I wouldn't come up with the idea of changing the 'source' variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it works, very happy with that!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 12:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388799#M807596</guid>
      <dc:creator>thomasreynaert</dc:creator>
      <dc:date>2017-10-19T12:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in set expression</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388800#M807597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem. You just need to think of how those variables are evaluated in the chain. I usually work on them step by step with text boxes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 12:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-set-expression/m-p/1388800#M807597</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2017-10-19T12:12:13Z</dc:date>
    </item>
  </channel>
</rss>

