<?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: probelm date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830143#M1214419</link>
    <description>&lt;P&gt;It feels like you are witholding some information in order for us to understand your issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible for you to explain your issue in other words or provide a small set of sample data and a description of the desired output of that sample.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR Vegar&lt;/P&gt;</description>
    <pubDate>Fri, 20 Aug 2021 09:52:18 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2021-08-20T09:52:18Z</dc:date>
    <item>
      <title>probelm date</title>
      <link>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830138#M1214417</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a date problem and I want to see the date &amp;gt;= from today's date and I see this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luke_Killer_IT_0-1629452141246.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60520iC6218FFC9C6F7C5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luke_Killer_IT_0-1629452141246.png" alt="Luke_Killer_IT_0-1629452141246.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my scipt :if((Kalender&amp;lt;=week(Today())&amp;amp;'-'&amp;amp; Year(Today())),&lt;BR /&gt;if((sum(details)-(((num(WeekDay(Today())))/5)*sum(details)))&amp;lt;0,'0',&lt;BR /&gt;sum(details)-(((num(WeekDay(Today())))/5)*sum(details))&lt;BR /&gt;),if(Kalender&amp;lt;week(Today())&amp;amp;'-'&amp;amp; Year(Today()),'0',if(Kalender&amp;gt;week(Today())&amp;amp;'-'&amp;amp; Year(Today()),sum(details))))&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 09:41:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830138#M1214417</guid>
      <dc:creator>Luke_Killer_IT</dc:creator>
      <dc:date>2021-08-20T09:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: probelm date</title>
      <link>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830143#M1214419</link>
      <description>&lt;P&gt;It feels like you are witholding some information in order for us to understand your issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible for you to explain your issue in other words or provide a small set of sample data and a description of the desired output of that sample.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR Vegar&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 09:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830143#M1214419</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2021-08-20T09:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: probelm date</title>
      <link>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830145#M1214420</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&amp;nbsp;in fact, I am not hiding anything but the fact that I do not want to see data that is past like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luke_Killer_IT_1-1629453840920.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60522i31BBCB28743896C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luke_Killer_IT_1-1629453840920.png" alt="Luke_Killer_IT_1-1629453840920.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 10:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830145#M1214420</guid>
      <dc:creator>Luke_Killer_IT</dc:creator>
      <dc:date>2021-08-20T10:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: probelm date</title>
      <link>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830162#M1214422</link>
      <description>&lt;P&gt;How can I hide this data because the if formula doesn't work?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 10:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830162#M1214422</guid>
      <dc:creator>Luke_Killer_IT</dc:creator>
      <dc:date>2021-08-20T10:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: probelm date</title>
      <link>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830181#M1214426</link>
      <description>&lt;P&gt;I believe the main issue for you comparing the Week-Year field with today is that it does not hold a date value. I would probably have tried to convert the string into a dual like in my script below.&lt;/P&gt;&lt;LI-CODE lang="java"&gt;LOAD
dual([YearWeek], makeweekdate( SubField([YearWeek], '-', 1 ),SubField([YearWeek], '-',2 ))) as [YearWeek],  //Creating a dual of the YearWeek field.
Value
FROM MySource;&lt;/LI-CODE&gt;&lt;P&gt;By having a numeric date value you can compare it to today() in a set analysis. In the chart below I used this expression:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;SUM({&amp;lt;YearWeek={"&amp;gt;=$(=today())"}&amp;gt;}Value) &lt;/FONT&gt;You will need to modify the SUM(Value) to your data model and expression.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vegar_0-1629459401020.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/60525i60DD66AD8DDC9863/image-size/large?v=v2&amp;amp;px=999" role="button" title="Vegar_0-1629459401020.png" alt="Vegar_0-1629459401020.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 11:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830181#M1214426</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2021-08-20T11:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: probelm date</title>
      <link>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830183#M1214428</link>
      <description>&lt;P&gt;thank you for your help&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 11:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/probelm-date/m-p/1830183#M1214428</guid>
      <dc:creator>Luke_Killer_IT</dc:creator>
      <dc:date>2021-08-20T11:43:38Z</dc:date>
    </item>
  </channel>
</rss>

