<?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: Find out how many days fall between start and end date based on month year selected in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2077725#M88401</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;that's great, it works as expected in QlikView. I need this to work in Qlik Sense though, but the same expression doesn't work. It looks like rangemin and rangemax should work in Qlik Sense but for some reason it isn't. Do you have any ideas?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;rangemin(End, monthend(max(MonthName)))&lt;BR /&gt;-&lt;BR /&gt;rangemax(Start, monthstart(max(MonthName)))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2023 11:11:27 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2023-05-30T11:11:27Z</dc:date>
    <item>
      <title>Find out how many days fall between start and end date based on month year selected</title>
      <link>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2076532#M88284</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I need to find a way to get the number of days between a start and end date based on the selected monthyear.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, if i have a row of data with a start date of 01/01/2022 and an end date of 16/04/2022 and the user selected April 2022, then i want to see that for this row in particular, there are 16 days that fall within that monthyear selection.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems like it should be quite easy but i have no idea where to start.&lt;/P&gt;
&lt;P&gt;I have attached a QVW with some sample data that I've put together. and the expected output for this dummy data when April-2022 is selected is..&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hopkinsc_0-1685052376917.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108393iDADE1186E207221B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hopkinsc_0-1685052376917.png" alt="hopkinsc_0-1685052376917.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is anyone able to help please?&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 22:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2076532#M88284</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2023-05-25T22:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Find out how many days fall between start and end date based on month year selected</title>
      <link>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2076541#M88285</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22226"&gt;@hopkinsc&lt;/a&gt;&amp;nbsp; may be below&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=if(GetSelectedCount(MonthYear)=1,

rangemin(End, monthend(max(MonthName)))
-
rangemax(Start, monthstart(max(MonthName))),

End-Start)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 22:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2076541#M88285</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-05-25T22:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Find out how many days fall between start and end date based on month year selected</title>
      <link>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2077725#M88401</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;that's great, it works as expected in QlikView. I need this to work in Qlik Sense though, but the same expression doesn't work. It looks like rangemin and rangemax should work in Qlik Sense but for some reason it isn't. Do you have any ideas?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;rangemin(End, monthend(max(MonthName)))&lt;BR /&gt;-&lt;BR /&gt;rangemax(Start, monthstart(max(MonthName)))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 11:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2077725#M88401</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2023-05-30T11:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Find out how many days fall between start and end date based on month year selected</title>
      <link>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2077730#M88402</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22226"&gt;@hopkinsc&lt;/a&gt;&amp;nbsp; This should work in qlik sense as well.&amp;nbsp; Make sure that you are using MonthName which is actual monthyear format on which you can apply the max. If you can share sample qvf I can look into it&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 11:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2077730#M88402</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-05-30T11:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Find out how many days fall between start and end date based on month year selected</title>
      <link>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2077755#M88404</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks, I am using a monthyear field that i have in the data but I'm getting wrong results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached a QVF with actual field names that are in my data.&amp;nbsp; I've also added a text box with a description of what is needed and 2 examples.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help&lt;/P&gt;
&lt;P&gt;edit:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;apologies, I uploaded the wrong QVF. The correct one has now been added.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 13:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2077755#M88404</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2023-05-30T13:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Find out how many days fall between start and end date based on month year selected</title>
      <link>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2077913#M88412</link>
      <description>&lt;P&gt;I know have it working, thanks for your help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 15:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-out-how-many-days-fall-between-start-and-end-date-based-on/m-p/2077913#M88412</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2023-05-30T15:25:47Z</dc:date>
    </item>
  </channel>
</rss>

