<?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: Date variable in background color expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771345#M59693</link>
    <description>&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=If( Count( {&amp;lt; work_day = {'1'}, Date_1 ={"&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;$(&lt;/FONT&gt;&lt;/STRONG&gt;=Date($(vStartMonth)+5,'DD.MM.YYYY'&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;"} &amp;gt;} distinct total Date_1 ) &amp;gt; 0, rgb(162,233,171) )&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Dec 2020 09:54:27 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2020-12-31T09:54:27Z</dc:date>
    <item>
      <title>Date variable in background color expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771209#M59684</link>
      <description>&lt;P&gt;I try to use variable&amp;nbsp;vStartMonth in&amp;nbsp; background color expression&lt;BR /&gt;vStartMonth =&amp;nbsp;Date(Floor(Monthstart(Today()-1)), 'DD.MM.YYYY')&lt;/P&gt;&lt;P&gt;When I use specific date it works:&lt;BR /&gt;If(Count({&amp;lt;work_day={'1'}, Date_1={'1.12.2020'} &amp;gt;}distinct total Date_1)&amp;gt;0, rgb(162,233,171))&lt;/P&gt;&lt;P&gt;When I use variable it does not work:&lt;BR /&gt;If(Count({&amp;lt;work_day={'1'}, Date_1={'$(vStartMonth)'} &amp;gt;}distinct total Date_1)&amp;gt;0, rgb(162,233,171))&lt;BR /&gt;I tried plenty of tests with variable but everything was wrong.&lt;/P&gt;&lt;P&gt;Could you help me?&lt;BR /&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771209#M59684</guid>
      <dc:creator>palo173</dc:creator>
      <dc:date>2024-11-16T00:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date variable in background color expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771219#M59686</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/91057"&gt;@palo173&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;What do you get if you put&amp;nbsp;&lt;SPAN&gt;vStartMonth&amp;nbsp;variable in a text object ? 1.12.2020 or 01.12.2020 ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 15:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771219#M59686</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2020-12-30T15:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date variable in background color expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771227#M59687</link>
      <description>&lt;P&gt;=&lt;SPAN&gt;vStartMonth in text object return 01.12.2020&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 16:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771227#M59687</guid>
      <dc:creator>palo173</dc:creator>
      <dc:date>2020-12-30T16:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date variable in background color expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771324#M59690</link>
      <description>&lt;P&gt;then the below expression:&lt;/P&gt;&lt;P&gt;=If( Count( {&amp;lt; work_day = {'1'}, Date_1 ={"$(vStartMonth)"} &amp;gt;} distinct total Date_1 ) &amp;gt; 0, rgb(162,233,171) )&lt;/P&gt;&lt;P&gt;should work for you.&lt;/P&gt;&lt;P&gt;be sure the field&amp;nbsp;&lt;SPAN&gt;Date_1 have the same format DD.MM.YYYY as your variable&amp;nbsp;vStartMonth.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 08:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771324#M59690</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2020-12-31T08:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date variable in background color expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771337#M59692</link>
      <description>&lt;P&gt;Thank you for your answer. The first option,, which I wrote in set analysis was your way.&lt;/P&gt;&lt;P&gt;But you had very good point, that Date_1 have to be in the same format. And it was not. I corrected format in field Date_1 and it works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I ask second question?&lt;BR /&gt;I want to add 5days in variable. What is wrong in expression?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=If( Count( {&amp;lt; work_day = {'1'}, Date_1 ={"=Date($(vStartMonth)+5,'DD.MM.YYYY'"} &amp;gt;} distinct total Date_1 ) &amp;gt; 0, rgb(162,233,171) )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 09:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771337#M59692</guid>
      <dc:creator>palo173</dc:creator>
      <dc:date>2020-12-31T09:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date variable in background color expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771345#M59693</link>
      <description>&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=If( Count( {&amp;lt; work_day = {'1'}, Date_1 ={"&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;$(&lt;/FONT&gt;&lt;/STRONG&gt;=Date($(vStartMonth)+5,'DD.MM.YYYY'&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;"} &amp;gt;} distinct total Date_1 ) &amp;gt; 0, rgb(162,233,171) )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 09:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771345#M59693</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-12-31T09:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date variable in background color expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771348#M59694</link>
      <description>&lt;P&gt;Sorry Tresesco, but it is not correct. Count returns 0, but it is not true.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 10:13:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771348#M59694</guid>
      <dc:creator>palo173</dc:creator>
      <dc:date>2020-12-31T10:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date variable in background color expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771350#M59695</link>
      <description>&lt;P&gt;Could you share your sample app to check?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 10:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771350#M59695</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-12-31T10:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date variable in background color expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771352#M59696</link>
      <description>&lt;P&gt;It is not possible to share data from qlik sense.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 10:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771352#M59696</guid>
      <dc:creator>palo173</dc:creator>
      <dc:date>2020-12-31T10:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date variable in background color expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771353#M59697</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/91057"&gt;@palo173&lt;/a&gt;, maybe with&amp;nbsp;&lt;SPAN&gt;=If( Count( {&amp;lt; work_day = {'1'}, Date_1 ={"$(=Date(Date#('$(vStartMonth)','DD.MM.YYYY')+5,'DD.MM.YYYY'))"} &amp;gt;} distinct total Date_1 ) &amp;gt; 0, rgb(162,233,171) )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 11:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771353#M59697</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-12-31T11:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Date variable in background color expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771355#M59698</link>
      <description>&lt;P&gt;let's try this:&lt;BR /&gt;=If( Count( {&amp;lt; work_day = {'1'}, Date_1 = {"$(=Date(Floor(Monthstart(Today()-1))+5, 'DD.MM.YYYY'))"} &amp;gt;} distinct total Date_1 ) &amp;gt; 0, rgb(162,233,171) )&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 11:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-variable-in-background-color-expression/m-p/1771355#M59698</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2020-12-31T11:16:52Z</dc:date>
    </item>
  </channel>
</rss>

