<?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 Status Ageing (Days)  based on Single Date Column in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Status-Ageing-Days-based-on-Single-Date-Column/m-p/2476371#M100270</link>
    <description>&lt;P&gt;I have a Table with several columns (ID, Name, Company,&amp;nbsp; Status, Date) which gets updated every Friday.&amp;nbsp; I am trying to build a Measure to calculate the no of the days the 'Name' has been Invalid (Status ='0') and As the data get updated every week I need to show it for current week (Max Date). If for current week and Status =0 then calculate no of days it has been Invalid for.&lt;BR /&gt;&lt;BR /&gt;For E.g.: For Name :ABC, As the Status is '0' for Current Week (max Date), then Calculate the no of days it has been Inactive for i.e. (No of Days between ( 8/9/2024 and 6/7/24).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moh2_sid_1-1723665523629.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170639iB2F57353034655E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moh2_sid_1-1723665523629.png" alt="moh2_sid_1-1723665523629.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Based on the No of days, I would like to build buckets and Show it as dimension. &lt;BR /&gt;&lt;BR /&gt;My Trail: &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Date(Min(Aggr(min(Date),NAME, Date)))&amp;nbsp; - when I tried this expression in a text box its giving me the expected value i.e &amp;nbsp;'6/7/24'&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when I am selecting max date (8/9/2024) for showing current week values it's changing to '8/9/2024'. &lt;BR /&gt;&lt;BR /&gt;Please let me know if further explanation is required, Thanks a lot for your help&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18425"&gt;@DavidFoster1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2024 20:01:57 GMT</pubDate>
    <dc:creator>moh2_sid</dc:creator>
    <dc:date>2024-08-14T20:01:57Z</dc:date>
    <item>
      <title>Status Ageing (Days)  based on Single Date Column</title>
      <link>https://community.qlik.com/t5/App-Development/Status-Ageing-Days-based-on-Single-Date-Column/m-p/2476371#M100270</link>
      <description>&lt;P&gt;I have a Table with several columns (ID, Name, Company,&amp;nbsp; Status, Date) which gets updated every Friday.&amp;nbsp; I am trying to build a Measure to calculate the no of the days the 'Name' has been Invalid (Status ='0') and As the data get updated every week I need to show it for current week (Max Date). If for current week and Status =0 then calculate no of days it has been Invalid for.&lt;BR /&gt;&lt;BR /&gt;For E.g.: For Name :ABC, As the Status is '0' for Current Week (max Date), then Calculate the no of days it has been Inactive for i.e. (No of Days between ( 8/9/2024 and 6/7/24).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moh2_sid_1-1723665523629.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170639iB2F57353034655E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moh2_sid_1-1723665523629.png" alt="moh2_sid_1-1723665523629.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Based on the No of days, I would like to build buckets and Show it as dimension. &lt;BR /&gt;&lt;BR /&gt;My Trail: &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Date(Min(Aggr(min(Date),NAME, Date)))&amp;nbsp; - when I tried this expression in a text box its giving me the expected value i.e &amp;nbsp;'6/7/24'&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when I am selecting max date (8/9/2024) for showing current week values it's changing to '8/9/2024'. &lt;BR /&gt;&lt;BR /&gt;Please let me know if further explanation is required, Thanks a lot for your help&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18425"&gt;@DavidFoster1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 20:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Status-Ageing-Days-based-on-Single-Date-Column/m-p/2476371#M100270</guid>
      <dc:creator>moh2_sid</dc:creator>
      <dc:date>2024-08-14T20:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Status Ageing (Days)  based on Single Date Column</title>
      <link>https://community.qlik.com/t5/App-Development/Status-Ageing-Days-based-on-Single-Date-Column/m-p/2476478#M100282</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;In script,&lt;/P&gt;
&lt;P&gt;load Max(week) as maxweek Resident table1;&lt;/P&gt;
&lt;P&gt;let vmax=Peek('maxweek');&lt;/P&gt;
&lt;P&gt;in measure use this expression&lt;/P&gt;
&lt;P&gt;if(week=$(vmax) and status=0,count({&amp;lt;date={"&amp;lt;=$(=max(date))"}&amp;gt;}date),0)&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 13:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Status-Ageing-Days-based-on-Single-Date-Column/m-p/2476478#M100282</guid>
      <dc:creator>Padma123</dc:creator>
      <dc:date>2024-08-15T13:02:34Z</dc:date>
    </item>
  </channel>
</rss>

