<?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 30,60,90 bucket Filter help in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/30-60-90-bucket-Filter-help/m-p/1527617#M43988</link>
    <description>&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;I have created this Workload Calculation chart based on Open and Close ticket , which is working fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Workload.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3271i2EE2112CA79B6676/image-size/large?v=v2&amp;amp;px=999" role="button" title="Workload.PNG" alt="Workload.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When a user is doing selections from Year , Month etc workload calculation never breaks ( Carry forwards numbers from previous days).&lt;/P&gt;&lt;P&gt;Now I'm looking for a solution to create last 30 , 60, 90 days buckets to help users. To achieve this I created at the backend&amp;nbsp; "&lt;SPAN&gt;DaysDifferenceGroup" filed , but t&lt;/SPAN&gt;&lt;SPAN&gt;he bucket breaks the workload calculation, the calc is set to 0 at the beginning of the bucket period rather than the true opening value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;GenCal:&lt;BR /&gt;load distinct&lt;BR /&gt;*,&lt;BR /&gt;dual(if(DaysDifference &amp;gt;=0 and DaysDifference &amp;lt;= 7, '0-7 days',&lt;BR /&gt;if(DaysDifference &amp;gt;=8 and DaysDifference &amp;lt;= 14, '8-14 days',&lt;BR /&gt;if(DaysDifference &amp;gt;=15 and DaysDifference &amp;lt;= 21, '15-21 days',&lt;BR /&gt;if(DaysDifference &amp;gt;=22 and DaysDifference &amp;lt;= 28, '22-28 days',&lt;BR /&gt;if(DaysDifference &amp;gt;=29 and DaysDifference &amp;lt;= 60, '29-60 days',&lt;BR /&gt;if(DaysDifference &amp;gt;=61 and DaysDifference &amp;lt;= 90, '61-90 days',&lt;BR /&gt;if(DaysDifference &amp;gt;=91 and DaysDifference &amp;lt;= 120, '91-120 days',&lt;BR /&gt;if(DaysDifference &amp;gt;121, 'Above 121 days')))))))),&lt;BR /&gt;if(DaysDifference &amp;gt;=0 and DaysDifference &amp;lt;= 7, 10,&lt;BR /&gt;if(DaysDifference &amp;gt;=7 and DaysDifference &amp;lt;= 14, 20,&lt;BR /&gt;if(DaysDifference &amp;gt;=15 and DaysDifference &amp;lt;= 21, 30,&lt;BR /&gt;if(DaysDifference &amp;gt;=22 and DaysDifference &amp;lt;= 28, 40,&lt;BR /&gt;if(DaysDifference &amp;gt;=29 and DaysDifference &amp;lt;= 60, 50,&lt;BR /&gt;if(DaysDifference &amp;gt;=61 and DaysDifference &amp;lt;= 90, 60,&lt;BR /&gt;if(DaysDifference &amp;gt;=91 and DaysDifference &amp;lt;= 120, 70,&lt;BR /&gt;if(DaysDifference &amp;gt;121, 80))))))))&lt;BR /&gt;) as DaysDifferenceGroup;&lt;BR /&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;Datefield as %DateID,&lt;BR /&gt;$(vToday)-floor(num(Datefield)) AS DaysDifference,&lt;BR /&gt;dual(date(Datefield, 'MMM YY'), year(Datefield)*100+month(Datefield)) as MonthYear,&lt;BR /&gt;year(Datefield) as Year,&lt;BR /&gt;month(Datefield) as Month,&lt;BR /&gt;day(Datefield) as Day,&lt;BR /&gt;week(Datefield) &amp;amp; ' / ' &amp;amp; year(Datefield) as Week,&lt;BR /&gt;weekday(Datefield) as Weekday,&lt;BR /&gt;'Q' &amp;amp; Ceil(Month(Datefield)/3) as Quarter&lt;BR /&gt;RESIDENT Datefield;&lt;BR /&gt;drop table Datefield;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Can someone help on How to create that last 30,60,90 days bucket , which should not break the Workload actual calculation on selections.&lt;/P&gt;&lt;P&gt;Attached is the QVW.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:54:30 GMT</pubDate>
    <dc:creator>amit_saini</dc:creator>
    <dc:date>2024-11-16T06:54:30Z</dc:date>
    <item>
      <title>30,60,90 bucket Filter help</title>
      <link>https://community.qlik.com/t5/App-Development/30-60-90-bucket-Filter-help/m-p/1527617#M43988</link>
      <description>&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;I have created this Workload Calculation chart based on Open and Close ticket , which is working fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Workload.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3271i2EE2112CA79B6676/image-size/large?v=v2&amp;amp;px=999" role="button" title="Workload.PNG" alt="Workload.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When a user is doing selections from Year , Month etc workload calculation never breaks ( Carry forwards numbers from previous days).&lt;/P&gt;&lt;P&gt;Now I'm looking for a solution to create last 30 , 60, 90 days buckets to help users. To achieve this I created at the backend&amp;nbsp; "&lt;SPAN&gt;DaysDifferenceGroup" filed , but t&lt;/SPAN&gt;&lt;SPAN&gt;he bucket breaks the workload calculation, the calc is set to 0 at the beginning of the bucket period rather than the true opening value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;GenCal:&lt;BR /&gt;load distinct&lt;BR /&gt;*,&lt;BR /&gt;dual(if(DaysDifference &amp;gt;=0 and DaysDifference &amp;lt;= 7, '0-7 days',&lt;BR /&gt;if(DaysDifference &amp;gt;=8 and DaysDifference &amp;lt;= 14, '8-14 days',&lt;BR /&gt;if(DaysDifference &amp;gt;=15 and DaysDifference &amp;lt;= 21, '15-21 days',&lt;BR /&gt;if(DaysDifference &amp;gt;=22 and DaysDifference &amp;lt;= 28, '22-28 days',&lt;BR /&gt;if(DaysDifference &amp;gt;=29 and DaysDifference &amp;lt;= 60, '29-60 days',&lt;BR /&gt;if(DaysDifference &amp;gt;=61 and DaysDifference &amp;lt;= 90, '61-90 days',&lt;BR /&gt;if(DaysDifference &amp;gt;=91 and DaysDifference &amp;lt;= 120, '91-120 days',&lt;BR /&gt;if(DaysDifference &amp;gt;121, 'Above 121 days')))))))),&lt;BR /&gt;if(DaysDifference &amp;gt;=0 and DaysDifference &amp;lt;= 7, 10,&lt;BR /&gt;if(DaysDifference &amp;gt;=7 and DaysDifference &amp;lt;= 14, 20,&lt;BR /&gt;if(DaysDifference &amp;gt;=15 and DaysDifference &amp;lt;= 21, 30,&lt;BR /&gt;if(DaysDifference &amp;gt;=22 and DaysDifference &amp;lt;= 28, 40,&lt;BR /&gt;if(DaysDifference &amp;gt;=29 and DaysDifference &amp;lt;= 60, 50,&lt;BR /&gt;if(DaysDifference &amp;gt;=61 and DaysDifference &amp;lt;= 90, 60,&lt;BR /&gt;if(DaysDifference &amp;gt;=91 and DaysDifference &amp;lt;= 120, 70,&lt;BR /&gt;if(DaysDifference &amp;gt;121, 80))))))))&lt;BR /&gt;) as DaysDifferenceGroup;&lt;BR /&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;Datefield as %DateID,&lt;BR /&gt;$(vToday)-floor(num(Datefield)) AS DaysDifference,&lt;BR /&gt;dual(date(Datefield, 'MMM YY'), year(Datefield)*100+month(Datefield)) as MonthYear,&lt;BR /&gt;year(Datefield) as Year,&lt;BR /&gt;month(Datefield) as Month,&lt;BR /&gt;day(Datefield) as Day,&lt;BR /&gt;week(Datefield) &amp;amp; ' / ' &amp;amp; year(Datefield) as Week,&lt;BR /&gt;weekday(Datefield) as Weekday,&lt;BR /&gt;'Q' &amp;amp; Ceil(Month(Datefield)/3) as Quarter&lt;BR /&gt;RESIDENT Datefield;&lt;BR /&gt;drop table Datefield;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Can someone help on How to create that last 30,60,90 days bucket , which should not break the Workload actual calculation on selections.&lt;/P&gt;&lt;P&gt;Attached is the QVW.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/30-60-90-bucket-Filter-help/m-p/1527617#M43988</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2024-11-16T06:54:30Z</dc:date>
    </item>
  </channel>
</rss>

