<?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: function in if-condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-function-in-if-condition/m-p/1639054#M732313</link>
    <description>&lt;P&gt;Got it:&lt;/P&gt;&lt;P&gt;if(&lt;BR /&gt;&lt;BR /&gt;(num(Month(today(2))) = 1)&lt;BR /&gt;,&lt;/P&gt;&lt;P&gt;//Then (true)&lt;/P&gt;&lt;P&gt;,&lt;BR /&gt;//Else (false)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2019 14:56:37 GMT</pubDate>
    <dc:creator>SamuelHaag</dc:creator>
    <dc:date>2019-10-23T14:56:37Z</dc:date>
    <item>
      <title>Set-Analysis: function in if-condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-function-in-if-condition/m-p/1639039#M732312</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'm trying to create an if-statement in set analysis like the following:&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;if(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;//Condition&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;(({$(=num(Month(today())))}) = ({'1'}))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;//Then (true)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;//doSomething&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="batang,apple gothic"&gt;//Else (false)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;&lt;SPAN&gt;//doSomething&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately this condition doesn't work here. I just want to compare the return value of this function combination with a number.&lt;/P&gt;&lt;P&gt;What is the problem here?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-function-in-if-condition/m-p/1639039#M732312</guid>
      <dc:creator>SamuelHaag</dc:creator>
      <dc:date>2024-11-16T19:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set-Analysis: function in if-condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-function-in-if-condition/m-p/1639054#M732313</link>
      <description>&lt;P&gt;Got it:&lt;/P&gt;&lt;P&gt;if(&lt;BR /&gt;&lt;BR /&gt;(num(Month(today(2))) = 1)&lt;BR /&gt;,&lt;/P&gt;&lt;P&gt;//Then (true)&lt;/P&gt;&lt;P&gt;,&lt;BR /&gt;//Else (false)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 14:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-function-in-if-condition/m-p/1639054#M732313</guid>
      <dc:creator>SamuelHaag</dc:creator>
      <dc:date>2019-10-23T14:56:37Z</dc:date>
    </item>
  </channel>
</rss>

