<?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: Need to add a flag on Jan file dynamically in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047049#M935874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;FileMonthNum = {1}, FileName&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116249_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Feb 2016 02:47:53 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-02-29T02:47:53Z</dc:date>
    <item>
      <title>Need to add a flag on Jan file dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047046#M935871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks/ &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the help in the past.&lt;/P&gt;&lt;P&gt;I have a small issue which I'm unable to fix. Hope somebody could help me if, its not a lot of trouble.&lt;/P&gt;&lt;P&gt;I have a bunch of files which I receive from the client every month. And in one of my column in the chart I want to show data only from Jan file irrespective of any month selected. &lt;/P&gt;&lt;P&gt;Say, if any month from 2015 is selected I want to show data from 2015 Jan file.&lt;/P&gt;&lt;P&gt;If any month from 2016 is &lt;SPAN style="font-size: 13.3333px;"&gt;selected&amp;nbsp; I want t&lt;SPAN style="font-size: 13.3333px;"&gt;o show data from 2016 Jan file.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015 Jan - 2015 Dec, result should be 22238&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016Jan - 2016Feb, r&lt;SPAN style="font-size: 13.3333px;"&gt;esult should be 41184&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Basically I wish to add a dynamic flag for the Jan file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can anybody show me how to achieve it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 01:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047046#M935871</guid>
      <dc:creator />
      <dc:date>2016-02-29T01:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add a flag on Jan file dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047047#M935872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if the attached is helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 02:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047047#M935872</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-29T02:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add a flag on Jan file dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047048#M935873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply Sunny.&lt;/P&gt;&lt;P&gt;But when I make any selection apart from Jan 2015, it's showing zero. I want it to display 22238 for any month in 2015. And for anything selected in 2016 I want it to display 41184.&lt;/P&gt;&lt;P&gt;Hope it makes sense.&lt;IMG alt="Req.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116238_Req.jpg" style="font-size: 10pt; line-height: 1.5em; height: 265px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 02:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047048#M935873</guid>
      <dc:creator />
      <dc:date>2016-02-29T02:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add a flag on Jan file dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047049#M935874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;FileMonthNum = {1}, FileName&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116249_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 02:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047049#M935874</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-29T02:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add a flag on Jan file dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047050#M935876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny when I select any other month like Jun 2015 its showing 63422 whereas it should display 22238. In my original solution I would be joining this table with my other fact table on Filename. So I need to select FileName.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Req.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116253_Req.jpg" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 03:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047050#M935876</guid>
      <dc:creator />
      <dc:date>2016-02-29T03:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add a flag on Jan file dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047051#M935877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what is missing, did you create a new field called FileMonthNum? and use that in your expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 03:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047051#M935877</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-29T03:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add a flag on Jan file dynamically</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047052#M935878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try changing the expression given by Sunny&amp;nbsp; as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(FileName)&amp;gt;0,num(sum({&amp;lt;FileName={"$(=Date(YearStart(FileName),'MMM YYYY'))"}&amp;gt;}Value),'##,###.##'),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sum({&amp;lt;FileMonthNum={1},FileMonth,FileName&amp;gt;}Value))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 07:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-a-flag-on-Jan-file-dynamically/m-p/1047052#M935878</guid>
      <dc:creator />
      <dc:date>2016-02-29T07:15:21Z</dc:date>
    </item>
  </channel>
</rss>

