<?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: How to display max month sales in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565718#M41205</link>
    <description>Hi Tresesco,&lt;BR /&gt;Any suggestion .&lt;BR /&gt;&lt;BR /&gt;Thanks in advance...</description>
    <pubDate>Fri, 05 Apr 2019 10:37:20 GMT</pubDate>
    <dc:creator>niranjan_capgemnini</dc:creator>
    <dc:date>2019-04-05T10:37:20Z</dc:date>
    <item>
      <title>How to display max month sales</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565548#M41189</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I struck in one place , my requirement is chart has to be display max month sales that some time current month sales is zero then it has to be displayed previous month sales.&lt;/P&gt;&lt;P&gt;if the previous month and current month sales is zero&amp;nbsp; then it has to be displayed last to last month sales like that it has to be show.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please guide me how to do this .&lt;/P&gt;&lt;P&gt;below formula i am using&amp;nbsp;&lt;/P&gt;&lt;P&gt;if((sum({&amp;lt;Year = {'$(=max(Year))'},[Month]={'$(=max([Month]))'},Status={'F'}&amp;gt;}Stock))=0,&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year = {'$(=max(Year))'},Status={'F'}&amp;gt;}Stock),&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year = {'$(=max(Year))'},[Month]={'$(=max([Month]))'},Status={'F'}&amp;gt;}Stock)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advanced&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565548#M41189</guid>
      <dc:creator>niranjan_capgemnini</dc:creator>
      <dc:date>2024-11-16T06:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to display max month sales</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565550#M41190</link>
      <description>&lt;P&gt;if your data model has MonthYear field try :&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;MonthYear={"$(=Date(Max(MonthYear),'MMM-YY'))"}&lt;SPAN&gt;,Status={'F'}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN&gt;Stock&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 06:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565550#M41190</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2019-04-05T06:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to display max month sales</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565555#M41191</link>
      <description>&lt;P&gt;Niranjan,&lt;/P&gt;&lt;P&gt;Your approach to expression might not give you expected result even for when maximum month has data. And that is simply because max year might not have data for max month always. To explain better, - max(month) would possibly always be 12/Dec. However for max/current&amp;nbsp; year you might not have data for Dec. That means, when you calculate max month - either calculate taking into consideration the fact that - that should be from max year that has data, or calculate month using Date field instead where data is there. If you consider &lt;STRONG&gt;'when data is there'&lt;/STRONG&gt;&amp;nbsp; i.e. in set analysis '=Sum(Stock)&amp;gt;0' your max month/date would itself take care of max month/prev month to max month or so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 06:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565555#M41191</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-04-05T06:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to display max month sales</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565567#M41193</link>
      <description>&lt;P&gt;Hi vikashmahaja,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks for replay.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is year and month is different fields, i concatenated fields in backend i tried it is not working.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 06:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565567#M41193</guid>
      <dc:creator>niranjan_capgemnini</dc:creator>
      <dc:date>2019-04-05T06:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to display max month sales</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565572#M41194</link>
      <description>Hi Tresesco,&lt;BR /&gt;thanks for replay Tresesco,&lt;BR /&gt;i agree with you but here there is another requirement also included if user select at a time jan and Feb then user expectation only feb month stock. thats why i wrote the above calculated field. but if the max month sales is not there is not showing any thing .&lt;BR /&gt;&lt;BR /&gt;please give me some ideas.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance........&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Apr 2019 06:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565572#M41194</guid>
      <dc:creator>niranjan_capgemnini</dc:creator>
      <dc:date>2019-04-05T06:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to display max month sales</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565578#M41196</link>
      <description>&lt;PRE&gt;@niranjan_capgemnini&amp;nbsp;wrote:

..if user select at a time jan and Feb then user expectation only feb month stock.&lt;BR /&gt; thats why i wrote the above 
calculated field...&lt;/PRE&gt;&lt;P&gt;Sorry, I could not follow or did not find&amp;nbsp; that this could result in an expression you wrote.&amp;nbsp; Could you share a sample app to work on?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 06:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565578#M41196</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-04-05T06:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to display max month sales</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565592#M41197</link>
      <description>Hi Tresesco,&lt;BR /&gt;i have attached sample QVF file please find the same at very first post.&lt;BR /&gt;&lt;BR /&gt;Thanks in advanced .&lt;BR /&gt;please give some guide.</description>
      <pubDate>Fri, 05 Apr 2019 07:08:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565592#M41197</guid>
      <dc:creator>niranjan_capgemnini</dc:creator>
      <dc:date>2019-04-05T07:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to display max month sales</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565610#M41198</link>
      <description>Your month field is a text field. Max() would not work there. Try to fix the data at the script and then try to share with an elaboration of expected output..</description>
      <pubDate>Fri, 05 Apr 2019 07:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565610#M41198</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-04-05T07:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to display max month sales</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565668#M41200</link>
      <description>Hi Tresesco,&lt;BR /&gt;i have modified the data , i have attached same please find the application&lt;BR /&gt;my expectation like below.&lt;BR /&gt;like India - 55&lt;BR /&gt;Lanka - 444&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;please give me any one suggestion.</description>
      <pubDate>Fri, 05 Apr 2019 08:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565668#M41200</guid>
      <dc:creator>niranjan_capgemnini</dc:creator>
      <dc:date>2019-04-05T08:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to display max month sales</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565718#M41205</link>
      <description>Hi Tresesco,&lt;BR /&gt;Any suggestion .&lt;BR /&gt;&lt;BR /&gt;Thanks in advance...</description>
      <pubDate>Fri, 05 Apr 2019 10:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565718#M41205</guid>
      <dc:creator>niranjan_capgemnini</dc:creator>
      <dc:date>2019-04-05T10:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to display max month sales</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565720#M41206</link>
      <description>&lt;P&gt;Please check if you require same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 10:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565720#M41206</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2019-04-05T10:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to display max month sales</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565743#M41209</link>
      <description>Hi,&lt;BR /&gt;Please give any suggestion.&lt;BR /&gt;thanks in advance..........</description>
      <pubDate>Fri, 05 Apr 2019 11:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-max-month-sales/m-p/1565743#M41209</guid>
      <dc:creator>niranjan_capgemnini</dc:creator>
      <dc:date>2019-04-05T11:06:36Z</dc:date>
    </item>
  </channel>
</rss>

