<?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: Grouping Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962780#M966823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyothish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a suggestion, you can also update a flag for Monthly load and weekly load and daily load on each and every day to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2015 05:01:45 GMT</pubDate>
    <dc:creator>SreeniJD</dc:creator>
    <dc:date>2015-09-30T05:01:45Z</dc:date>
    <item>
      <title>Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962776#M966819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help in finding an approach to achieve my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 flat file, one gets updated on monthly basis, one weekly and one file daily.&lt;/P&gt;&lt;P&gt;So i am capturing the fileupdate date using monthstart for monthly file, weekstart for weekly file and as a normal date for daily file.&lt;/P&gt;&lt;P&gt;My idea is to group this date to month for selection. Suppose if i select Sep all the &lt;STRONG&gt;max dates&lt;/STRONG&gt; which falls in sep should be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my challenge is when i try to find the max date, i always get the fileupdate date of daily file, since it is getting updated daily and have max date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now if write a expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Date={'$(=max(Date))"},Flag={'Monthly File'}&amp;gt;}Salary)&lt;/P&gt;&lt;P&gt;In this case in max(Date) i am getting the date of daily file and not the monthly file so the output is wrong.&lt;/P&gt;&lt;P&gt;Is there any way to achieve my requirement?&lt;/P&gt;&lt;P&gt;For max date can we create a variable which will change according to the flag i am using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion will be really helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only solution i have is to load all the sources daily to keep the date consistent but it will increase the data size which i am trying to avoid as of now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jyothish KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 18:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962776#M966819</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-09-29T18:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962777#M966820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Sum(Date={"$(=Date(Max({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Flag={'Monthly File'}&lt;/SPAN&gt;&amp;gt;} Date), 'YourDateFieldFormat'))"}&amp;gt;}Salary)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 20:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962777#M966820</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-29T20:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962778#M966821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion, but in my case i have multiple flags (Datasoursre) and i want to come up with one variable which works for all 3 data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jyothish KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 04:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962778#M966821</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-09-30T04:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962779#M966822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess have a list box where you have always one value selected. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;File&lt;/P&gt;&lt;P&gt;Monthly File&lt;/P&gt;&lt;P&gt;Weekly File&lt;/P&gt;&lt;P&gt;Daily File&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then set a variable vFlag = Only(File) and change your expression to be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum(Date={"$(=Date(Max({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Flag={'$(vFlag)'}&lt;/SPAN&gt;&amp;gt;} Date), 'YourDateFieldFormat'))"}&amp;gt;}Salary)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might have to play around the correct syntax within the set analysis, but the idea is that once you make a selection in File list box (only one selection at a time), you will see different Flags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is what you are looking for. If not please elaborate your requirement and attach a sample with expected output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 04:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962779#M966822</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-30T04:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962780#M966823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyothish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a suggestion, you can also update a flag for Monthly load and weekly load and daily load on each and every day to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 05:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962780#M966823</guid>
      <dc:creator>SreeniJD</dc:creator>
      <dc:date>2015-09-30T05:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962781#M966824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share the sample application, and expected output..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 05:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962781#M966824</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2015-09-30T05:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962782#M966825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion Sunny, but i cant use this approach in my situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jyothish KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 10:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962782#M966825</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-09-30T10:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962783#M966826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be if you elaborate or share a sample, we can help you better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 10:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962783#M966826</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-30T10:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962784#M966827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Jd , it is a solution as i mentioned above in my question also, but the performance impact will be high since i am duplicating same data again and again which comes monthly and i want to avoid this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 10:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962784#M966827</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-09-30T10:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962785#M966828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100480_Capture.PNG" style="height: 268px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 10:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962785#M966828</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-30T10:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962786#M966829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to change my logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what i am trying to do is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose Monthly source get loaded for 3 months then it will have dates 1 Mar 2015,1 Apr 2015 and 1 May 2015.&lt;/P&gt;&lt;P&gt;Weekly will have 4 dates for each month and daily will have 30 or 31 dates in each month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help to write a where clause from which i can extract only the max(Date) for each source and for each month also.&lt;/P&gt;&lt;P&gt;So for monthly files when i apply the where clause it should get 1 Mar 2015,1 Apr 2015 and 1 May 2015 as output, but for weekly file only the last week date should be taken for all the months and the same for daily file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please help me with this approach?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 10:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962786#M966829</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-09-30T10:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962787#M966830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100474_Capture.PNG" style="height: 443px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 10:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962787#M966830</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-09-30T10:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962788#M966831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyothish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a data source number Monthly =1, Weekly=2, Daily =3 and in your expression, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;sum(Date={'$(=max(Date,&amp;lt;datasource=3&amp;gt;))"},Flag={'Monthly File'}&amp;gt;}Salary)??????&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;Sreeni&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 10:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962788#M966831</guid>
      <dc:creator>SreeniJD</dc:creator>
      <dc:date>2015-09-30T10:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping Date</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962789#M966832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The jd, again this approach i have to mention to group &amp;lt;datasource=3&amp;gt; and have to create multiple variables for different data source which i don't want to. &lt;/P&gt;&lt;P&gt;Now i am trying a now logic and need your help again for this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; hope you don't mind.&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100484_Capture.PNG" style="height: 443px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 10:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-Date/m-p/962789#M966832</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-09-30T10:36:40Z</dc:date>
    </item>
  </channel>
</rss>

