<?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: Getting number of days for selected months and year without AGGR in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1806565#M1212179</link>
    <description>&lt;P&gt;I wouldn't try it in this way else using appropriate information within a master-calendar, like defining a 1 for each calendar/working-day and then just applying sum(DayValue) or you may also calculate the max/kum days there and using max/avg() to pick them.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Mon, 10 May 2021 11:39:54 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2021-05-10T11:39:54Z</dc:date>
    <item>
      <title>How to find/count number of days for selected months and year without AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1806376#M1212133</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;Sum(Aggr(Day(MonthEnd(Max(DateSet))), Month, Year)) to get total number of days for selected month and year. Can we use set analysis to achieve this?&lt;/P&gt;&lt;P&gt;Example : If I select Feb 2020, Mar 2020, Feb 2021, Mar 2021 , Result&amp;nbsp; - no of days = 119&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If I select Jan 2020, May 2020. Result - no of days = 62.&lt;/P&gt;&lt;P&gt;Can anyone please help me to get this without using AGGR in expression.&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 16:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1806376#M1212133</guid>
      <dc:creator>kiru_18</dc:creator>
      <dc:date>2021-05-09T16:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getting number of days for selected months and year without AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1806379#M1212136</link>
      <description>&lt;P&gt;perhaps like this: Max( DateSet) - Min(DateSet) + 1&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 08:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1806379#M1212136</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2021-05-09T08:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting number of days for selected months and year without AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1806410#M1212147</link>
      <description>&lt;P&gt;It's not working. Giving wrong answer. If i select Jan 2021 and Mar 2021 it's showing 90 days. But result should be 31(for Jan)+31(for Mar) = 62 days&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 16:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1806410#M1212147</guid>
      <dc:creator>kiru_18</dc:creator>
      <dc:date>2021-05-09T16:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting number of days for selected months and year without AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1806411#M1212148</link>
      <description>&lt;P&gt;Can anyone give solution with if statement or set expression. Ques: Count number if days for selected month(multiple selection in list box)&lt;/P&gt;&lt;P&gt;EX: If Mar 2021 and 2020 are selected. Output should be 31+31 = 62 days&lt;/P&gt;&lt;P&gt;&amp;nbsp; If Jan 2020, Feb 2020 and June 2020 are selected, then Output should be 31+29+30 = 90 days&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 16:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1806411#M1212148</guid>
      <dc:creator>kiru_18</dc:creator>
      <dc:date>2021-05-09T16:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting number of days for selected months and year without AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1806565#M1212179</link>
      <description>&lt;P&gt;I wouldn't try it in this way else using appropriate information within a master-calendar, like defining a 1 for each calendar/working-day and then just applying sum(DayValue) or you may also calculate the max/kum days there and using max/avg() to pick them.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 11:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1806565#M1212179</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-05-10T11:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting number of days for selected months and year without AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1807202#M1212216</link>
      <description>&lt;P&gt;If i didn't have record on particular date then result is wrong. If May month has only records for 20 date. Then if I select May month it's show sum(dayvalue) is 20. But result I need to get is total days in month (i.e 31 days in May month)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 07:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1807202#M1212216</guid>
      <dc:creator>kiru_18</dc:creator>
      <dc:date>2021-05-12T07:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting number of days for selected months and year without AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1807210#M1212218</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141128"&gt;@kiru_18&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you've Date field in your data model which is derived from Master Calendar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that case, You can use&lt;/P&gt;&lt;P&gt;count(Distinct Date)&lt;/P&gt;&lt;P&gt;Suppose, you don't have records in fact table &amp;amp; dimension table info, you can remove the those selections with help of set analysis.&lt;/P&gt;&lt;P&gt;Count({&amp;lt;YourDim1=, YourDim2=&amp;gt;}Distinct Date)&lt;/P&gt;&lt;P&gt;Else, you need to create dummy value for missed dates in your fact table to resolve this.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 07:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-count-number-of-days-for-selected-months-and-year/m-p/1807210#M1212218</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-05-12T07:50:00Z</dc:date>
    </item>
  </channel>
</rss>

