<?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 Pivot Buckets not picking for dates. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pivot-Buckets-not-picking-for-dates/m-p/1968670#M79883</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have created a dimension with buckets as ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=If(num(Date(floor([Date Created]))-Date(today()))&amp;lt;=5,'1-5',&lt;BR /&gt;If(num(Date(floor([Date Created]))-Date(today()) )&amp;lt;=10,'6-10',&lt;BR /&gt;If(num(Date(floor([Date Created]))-Date(today()) )&amp;lt;=20,'11-20',&lt;BR /&gt;If(num(Date(floor([Date Created]))-Date(today()) )&amp;lt;=30,'21-30',&lt;BR /&gt;If(num(Date(floor([Date Created]))-Date(today()) )&amp;gt;30,'More than 30 days')&lt;BR /&gt;))))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to plot a pivot table, however it is taking just the first bucket and not rest. I have done the same in other apps and it is working fine, not sure why not here.&amp;nbsp; Am I doing something wrong with the date? Any help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tvisha_0-1660559014402.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/86711i488FCAC5FF1C3A07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tvisha_0-1660559014402.png" alt="tvisha_0-1660559014402.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also in the measure I am adding the count , as count(case reference number) however it is not coming correct.&lt;/P&gt;
&lt;P&gt;or I need to plot a graph something similar,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tvisha_1-1660559095951.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/86712iB23ED631732EBAB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tvisha_1-1660559095951.png" alt="tvisha_1-1660559095951.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any other help way I can create this?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Rains&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Aug 2022 10:25:22 GMT</pubDate>
    <dc:creator>tvisha</dc:creator>
    <dc:date>2022-08-15T10:25:22Z</dc:date>
    <item>
      <title>Pivot Buckets not picking for dates.</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Buckets-not-picking-for-dates/m-p/1968670#M79883</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have created a dimension with buckets as ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=If(num(Date(floor([Date Created]))-Date(today()))&amp;lt;=5,'1-5',&lt;BR /&gt;If(num(Date(floor([Date Created]))-Date(today()) )&amp;lt;=10,'6-10',&lt;BR /&gt;If(num(Date(floor([Date Created]))-Date(today()) )&amp;lt;=20,'11-20',&lt;BR /&gt;If(num(Date(floor([Date Created]))-Date(today()) )&amp;lt;=30,'21-30',&lt;BR /&gt;If(num(Date(floor([Date Created]))-Date(today()) )&amp;gt;30,'More than 30 days')&lt;BR /&gt;))))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to plot a pivot table, however it is taking just the first bucket and not rest. I have done the same in other apps and it is working fine, not sure why not here.&amp;nbsp; Am I doing something wrong with the date? Any help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tvisha_0-1660559014402.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/86711i488FCAC5FF1C3A07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tvisha_0-1660559014402.png" alt="tvisha_0-1660559014402.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also in the measure I am adding the count , as count(case reference number) however it is not coming correct.&lt;/P&gt;
&lt;P&gt;or I need to plot a graph something similar,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tvisha_1-1660559095951.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/86712iB23ED631732EBAB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tvisha_1-1660559095951.png" alt="tvisha_1-1660559095951.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any other help way I can create this?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Rains&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 10:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Buckets-not-picking-for-dates/m-p/1968670#M79883</guid>
      <dc:creator>tvisha</dc:creator>
      <dc:date>2022-08-15T10:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Buckets not picking for dates.</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Buckets-not-picking-for-dates/m-p/1968674#M79885</link>
      <description>&lt;P&gt;Assuming [Date Created] is something that happened in the past, [Date Created] - Today() is always going to be a negative number, so it follows that you will only ever get the first bucket - negative numbers are always smaller than 5. If this is indeed the case, you need to reverse either your subtraction or your if() statements accordingly.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 10:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Buckets-not-picking-for-dates/m-p/1968674#M79885</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-08-15T10:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Buckets not picking for dates.</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Buckets-not-picking-for-dates/m-p/1968675#M79886</link>
      <description>&lt;P&gt;Thank you, That worked. Silly mistake. I rectified that in other calculation, but missed here.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 10:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Buckets-not-picking-for-dates/m-p/1968675#M79886</guid>
      <dc:creator>tvisha</dc:creator>
      <dc:date>2022-08-15T10:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Buckets not picking for dates.</title>
      <link>https://community.qlik.com/t5/App-Development/Pivot-Buckets-not-picking-for-dates/m-p/1968676#M79887</link>
      <description>&lt;P&gt;IS there a way I can plot a bar graph from the same?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 10:49:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pivot-Buckets-not-picking-for-dates/m-p/1968676#M79887</guid>
      <dc:creator>tvisha</dc:creator>
      <dc:date>2022-08-15T10:49:51Z</dc:date>
    </item>
  </channel>
</rss>

