<?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: Banded Values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Banded-Values/m-p/2505975#M104068</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can try the following, either in script or in your table:&lt;/P&gt;
&lt;P&gt;Date(floor(([Datefield]-45658)/7)*7 +45658) &amp;amp; ' - ' &amp;amp; Date(floor(([Datefield]-45658)/7)*7 +45664) ,&lt;/P&gt;
&lt;P&gt;45658 being the numerical value of your starting point (&lt;SPAN&gt;01/01/2025) and&amp;nbsp;45664 being the end date of the first banded value&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2025 14:54:14 GMT</pubDate>
    <dc:creator>CoenP_80</dc:creator>
    <dc:date>2025-02-14T14:54:14Z</dc:date>
    <item>
      <title>Banded Values</title>
      <link>https://community.qlik.com/t5/App-Development/Banded-Values/m-p/2505968#M104066</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to make a banded value for a table column.&lt;/P&gt;
&lt;P&gt;For example, using a date field to create a column with value 01/01/2025 - 07/01/2025 and the next value in the row below being&amp;nbsp;08/01/2025 - 14/01/2025 etc&lt;/P&gt;
&lt;P&gt;I got as far a using case in the column:&amp;nbsp;&lt;EM&gt;=Class(Date([DateField],'DD-MM-YYYY'),7)&amp;nbsp;&lt;/EM&gt;but this is giving me values of 44975 &amp;lt;= x &amp;lt; 44982 and the next row a value of 44982 &amp;lt;= x &amp;lt; 44989 etc&lt;/P&gt;
&lt;P&gt;What my ultimate aim is to create dynamic banding so I can create my own banding values to be used in the table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If anyone is able to point me in the right direction that would be great,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 14:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Banded-Values/m-p/2505968#M104066</guid>
      <dc:creator>DaveStraw</dc:creator>
      <dc:date>2025-02-14T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Banded Values</title>
      <link>https://community.qlik.com/t5/App-Development/Banded-Values/m-p/2505975#M104068</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can try the following, either in script or in your table:&lt;/P&gt;
&lt;P&gt;Date(floor(([Datefield]-45658)/7)*7 +45658) &amp;amp; ' - ' &amp;amp; Date(floor(([Datefield]-45658)/7)*7 +45664) ,&lt;/P&gt;
&lt;P&gt;45658 being the numerical value of your starting point (&lt;SPAN&gt;01/01/2025) and&amp;nbsp;45664 being the end date of the first banded value&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 14:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Banded-Values/m-p/2505975#M104068</guid>
      <dc:creator>CoenP_80</dc:creator>
      <dc:date>2025-02-14T14:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Banded Values</title>
      <link>https://community.qlik.com/t5/App-Development/Banded-Values/m-p/2505977#M104069</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the quick reply, it looks like it's working but I'm just checking a few things out to make sure the right data is being brought back.&lt;/P&gt;
&lt;P&gt;Can I also ask - how do I sort the date in the table in descending order as at the moment it's showing all dates in numeric order. For example 01/03/2023 then next row 01/05/2024&amp;nbsp; and then 01/11/2023 and then 02/08/2023 etc&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 15:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Banded-Values/m-p/2505977#M104069</guid>
      <dc:creator>DaveStraw</dc:creator>
      <dc:date>2025-02-14T15:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Banded Values</title>
      <link>https://community.qlik.com/t5/App-Development/Banded-Values/m-p/2505984#M104071</link>
      <description>&lt;P&gt;I think I would do it in this way:&lt;/P&gt;
&lt;P&gt;dual(date(subfield(class([Date], $(myVar)), ' ', 1)) &amp;amp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' &amp;lt;= x &amp;lt; ' &amp;amp; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; date(subfield(class([Date], $(myVar)), ' ', 5)), &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class([Date], $(myVar)))&lt;/P&gt;
&lt;P&gt;with a variable for the bucket-size.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 16:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Banded-Values/m-p/2505984#M104071</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-02-14T16:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Banded Values</title>
      <link>https://community.qlik.com/t5/App-Development/Banded-Values/m-p/2506051#M104093</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;='From ' &amp;amp; Date(Class([DateField], $(vBandWidth))) &amp;amp; ' to ' &amp;amp; Date(Class([DateField], $(vBandWidth)) + $(vBandWidth) - 1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2025 14:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Banded-Values/m-p/2506051#M104093</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2025-02-16T14:17:56Z</dc:date>
    </item>
  </channel>
</rss>

