<?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 Barchart and dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Barchart-and-dates/m-p/1705236#M54066</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I hope some of you experts may help me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have a barchart with dimension:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(month([Date of Event Reference])&amp;lt;month(Today()),&lt;BR /&gt;&amp;nbsp; &amp;nbsp;[Date of Event Reference Year Month],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(week([Date of Event Reference])&amp;lt;week(Today()),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WeekName([Date of Event Reference]),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Date of Event Reference]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and it shows previous months, previous weeks of the current month and the days of the current week.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="silviacico_0-1590500974236.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34358i89EB6F4E5DD86D84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="silviacico_0-1590500974236.png" alt="silviacico_0-1590500974236.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to color the bars like this:&lt;/P&gt;&lt;P&gt;if(week([Date of Event Reference]) =week(today()), green(),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(month([Date of Event Reference]) = month(Today()) and week([Date of Event Reference]) &amp;lt;&amp;gt; week(today()), blue(),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(num(month([Date of Event Reference])) &amp;lt; num(month(Today())), yellow())))&lt;/P&gt;&lt;P&gt;but it seems to work only the first statement:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(week([Date of Event Reference]) =week(today()), green()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;SPAN&gt; any advice and suggestions will be very appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:19:43 GMT</pubDate>
    <dc:creator>silviacico</dc:creator>
    <dc:date>2024-11-16T02:19:43Z</dc:date>
    <item>
      <title>Barchart and dates</title>
      <link>https://community.qlik.com/t5/App-Development/Barchart-and-dates/m-p/1705236#M54066</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I hope some of you experts may help me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have a barchart with dimension:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(month([Date of Event Reference])&amp;lt;month(Today()),&lt;BR /&gt;&amp;nbsp; &amp;nbsp;[Date of Event Reference Year Month],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(week([Date of Event Reference])&amp;lt;week(Today()),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WeekName([Date of Event Reference]),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Date of Event Reference]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and it shows previous months, previous weeks of the current month and the days of the current week.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="silviacico_0-1590500974236.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34358i89EB6F4E5DD86D84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="silviacico_0-1590500974236.png" alt="silviacico_0-1590500974236.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to color the bars like this:&lt;/P&gt;&lt;P&gt;if(week([Date of Event Reference]) =week(today()), green(),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(month([Date of Event Reference]) = month(Today()) and week([Date of Event Reference]) &amp;lt;&amp;gt; week(today()), blue(),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(num(month([Date of Event Reference])) &amp;lt; num(month(Today())), yellow())))&lt;/P&gt;&lt;P&gt;but it seems to work only the first statement:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(week([Date of Event Reference]) =week(today()), green()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;SPAN&gt; any advice and suggestions will be very appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Barchart-and-dates/m-p/1705236#M54066</guid>
      <dc:creator>silviacico</dc:creator>
      <dc:date>2024-11-16T02:19:43Z</dc:date>
    </item>
  </channel>
</rss>

