<?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 problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808469#M663719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try like this&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Today()-[DAX Service Order Created Date] =3, 'Warning',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Today()-[DAX Service Order Created Date] &amp;gt;3, 'Trouble',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Today()-[DAX Service Order Created Date] &amp;lt;3,&lt;/SPAN&gt;&amp;nbsp; 'All Is Good', 'Not Available'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))) as Category&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2015 03:23:32 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-02-16T03:23:32Z</dc:date>
    <item>
      <title>If statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808464#M663709</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 a expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()-&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DAX Service Order Created Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt;1, 'TROUBLE!', 'All is Good! ') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I want to make the expression like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;If&amp;nbsp; (&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()-&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DAX Service Order Created Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =3 then 'Showw Warning'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;If its &amp;gt;3 then show 'Trouble'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;And If its &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt; then show 'All is Good'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Can i have all these three logic in one if statement?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Ahmed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 18:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808464#M663709</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-02-15T18:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: If statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808465#M663710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; Try this&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if &lt;SPAN style="font-family: inherit; font-style: inherit; font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-size: 8pt; color: #0000ff;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-size: 8pt;"&gt;()-&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-size: 8pt; color: #800000;"&gt;[DAX Service Order Created Date] = 3, 'Show Warning',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-size: 8pt; color: #800000;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-size: 8pt; color: #0000ff;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-size: 8pt;"&gt;()-&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-size: 8pt; color: #800000;"&gt;[DAX Service Order Created Date] &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit;"&gt;&amp;gt;1, 'TROUBLE!', 'All is Good! '))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 11px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 18:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808465#M663710</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-02-15T18:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: If statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808466#M663713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Colin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anything greater than 1 is showing 'TROUBLE' but whaen its equl to 3 thenit should be showing 'Warning'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 18:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808466#M663713</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-02-15T18:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: If statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808467#M663716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(Today()-[DAX Service Order Created Date] &amp;gt;3, 'Trouble',&lt;/P&gt;&lt;P&gt;If(Today()-[DAX Service Order Created Date] =3, 'Warning',&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'All Is Good'&lt;/P&gt;&lt;P&gt;)) as Expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 19:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808467#M663716</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-15T19:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: If statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808468#M663718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;This should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;if &lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;()-&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;[DAX Service Order Created Date] = 3, 'Show Warning',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;&lt;SPAN style="font-style: inherit; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #3d3d3d;"&gt;()-&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;[DAX Service Order Created Date] &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&amp;gt;3, 'TROUBLE!', 'All is Good! '))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 19:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808468#M663718</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-02-15T19:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: If statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808469#M663719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try like this&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Today()-[DAX Service Order Created Date] =3, 'Warning',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Today()-[DAX Service Order Created Date] &amp;gt;3, 'Trouble',&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Today()-[DAX Service Order Created Date] &amp;lt;3,&lt;/SPAN&gt;&amp;nbsp; 'All Is Good', 'Not Available'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))) as Category&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 03:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808469#M663719</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-02-16T03:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: If statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808470#M663720</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;Does [DAX Service Order Created Date] contain a time component? If so, then you will need something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (Today()-&lt;STRONG&gt;Floor&lt;/STRONG&gt;([DAX Service Order Created Date]) = 3, 'Show Warning',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Today()-[DAX Service Order Created Date] &amp;gt;3, 'TROUBLE!', 'All is Good! '))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 05:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-problem/m-p/808470#M663720</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-02-16T05:26:30Z</dc:date>
    </item>
  </channel>
</rss>

