<?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: Color formating with date value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Color-formating-with-date-value/m-p/1764161#M591238</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/130348"&gt;@AndreasGu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think, you have 2 flag field like _Last7Days &amp;amp; _LastPR7Days in your calendar. In that case, try like below&lt;/P&gt;&lt;P&gt;if(sum({&amp;lt;_Last7Days ={1}&amp;gt;} #SALES) &amp;gt; sum({&amp;lt;_LastPR7Days={1}&amp;gt;} #SALES) , green(), red())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 02:42:49 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2020-11-25T02:42:49Z</dc:date>
    <item>
      <title>Color formating with date value</title>
      <link>https://community.qlik.com/t5/QlikView/Color-formating-with-date-value/m-p/1764149#M591236</link>
      <description>&lt;P&gt;I'm quite new to Qlik and trying to understand how the if statements work together with date sets.&lt;/P&gt;&lt;P&gt;I have two date ranges. Last 7 days (day 1-7), and the previous 7 days (day 8-14).&lt;BR /&gt;&lt;BR /&gt;So here I try to see which one is the higher, what amendments&amp;nbsp; needs to be made here?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if(sum({_Last7Days} #SALES) &amp;gt; sum({_LastPR7Days} #SALES) , green(), red())&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-formating-with-date-value/m-p/1764149#M591236</guid>
      <dc:creator>AndreasGu</dc:creator>
      <dc:date>2024-11-15T23:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Color formating with date value</title>
      <link>https://community.qlik.com/t5/QlikView/Color-formating-with-date-value/m-p/1764161#M591238</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/130348"&gt;@AndreasGu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think, you have 2 flag field like _Last7Days &amp;amp; _LastPR7Days in your calendar. In that case, try like below&lt;/P&gt;&lt;P&gt;if(sum({&amp;lt;_Last7Days ={1}&amp;gt;} #SALES) &amp;gt; sum({&amp;lt;_LastPR7Days={1}&amp;gt;} #SALES) , green(), red())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 02:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-formating-with-date-value/m-p/1764161#M591238</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-11-25T02:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Color formating with date value</title>
      <link>https://community.qlik.com/t5/QlikView/Color-formating-with-date-value/m-p/1764352#M591240</link>
      <description>&lt;P&gt;Thank you. That sorted it.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 12:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-formating-with-date-value/m-p/1764352#M591240</guid>
      <dc:creator>AndreasGu</dc:creator>
      <dc:date>2020-11-25T12:43:51Z</dc:date>
    </item>
  </channel>
</rss>

