<?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: Multiple selection in Bar chart is failing in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125341#M8701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gabor.&lt;/P&gt;&lt;P&gt;I tried with the below expression replacing DateBrn as DMMonth&lt;/P&gt;&lt;P&gt;(IF((ISNULL(GetFieldSelections(DMMonth))),&lt;/P&gt;&lt;P&gt;sum(IF(DateBrn=ApplicationDate,AmtOSTodayLcy,AmtOSMonthendLcy))&lt;/P&gt;&lt;P&gt;,sum ({&amp;lt;AmtOSTodayLcy={"&amp;gt;0"}, DateBrn = {'$(=Max(date(DMMonth)))'} &amp;gt;} AmtOSTodayLcy )))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the multiple selection for months is working but there is another problem now.&lt;/P&gt;&lt;P&gt;There is another chart which shows date wise representation of the same.in a bar chart. There if I select multiple dates, the monthwise value becomes zero after i made the above changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For datewise representation below are the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Date dimension&lt;/P&gt;&lt;P&gt;(IF((ISNULL(GetFieldSelections(DMMonth))),&lt;/P&gt;&lt;P&gt;sum(IF(DateBrn=ApplicationDate,AmtOSTodayLcy,AmtOSMonthendLcy))&lt;/P&gt;&lt;P&gt;,sum ({&amp;lt;AmtOSTodayLcy={"&amp;gt;0"}, DateBrn = {'$(=Max(date(DMMonth)))'} &amp;gt;} AmtOSTodayLcy )))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for measure Outstanding Amount&lt;/P&gt;&lt;P&gt;SUM(AmtOSTodayLcy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Oct 2018 10:28:44 GMT</pubDate>
    <dc:creator>deepikavijayan</dc:creator>
    <dc:date>2018-10-02T10:28:44Z</dc:date>
    <item>
      <title>Multiple selection in Bar chart is failing</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125335#M8695</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;I have sum of of the outstanding amount displayed month on month. If I am selecting a single month then i is showing me proper data. But when I am selecting more than one month, then the previous months are dropping to zero. Please refer to the screen shot attached.I have attached the app also. &lt;/P&gt;&lt;P&gt;Please let me know if the qvd is required. Will attach the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 14:20:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125335#M8695</guid>
      <dc:creator>deepikavijayan</dc:creator>
      <dc:date>2018-10-01T14:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection in Bar chart is failing</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125336#M8696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you share us the qvf or the expression you used in charts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 14:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125336#M8696</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2018-10-01T14:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection in Bar chart is failing</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125337#M8697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dimension is Date whose expression is &lt;/P&gt;&lt;P&gt;IF(DATE(DateBrn)&amp;gt;=$(vDate), DMMonthName)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DMMonthName is the name of the months from and &lt;SPAN style="font-size: 13.3333px;"&gt;DateBrn are the dates of the trenasactions&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measure is Outstanding amount. Expression-&lt;/P&gt;&lt;P&gt;(IF((ISNULL(GetFieldSelections(DateBrn))),&lt;/P&gt;&lt;P&gt;sum(IF(DateBrn=ApplicationDate,AmtOSTodayLcy,AmtOSMonthendLcy))&lt;/P&gt;&lt;P&gt;,sum ({&amp;lt;AmtOSTodayLcy={"&amp;gt;0"}, DateBrn = {'$(=Max(DateBrn))'} &amp;gt;} AmtOSTodayLcy )))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 09:09:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125337#M8697</guid>
      <dc:creator>deepikavijayan</dc:creator>
      <dc:date>2018-10-02T09:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection in Bar chart is failing</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125338#M8698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for sharing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the dimension part should be ok, because you wouldn't see the bars, if not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is at the bold part:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(IF((ISNULL(GetFieldSelections(DateBrn))),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(IF(DateBrn=ApplicationDate,AmtOSTodayLcy,AmtOSMonthendLcy))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,sum ({&amp;lt;AmtOSTodayLcy={"&amp;gt;0"}, &lt;STRONG&gt;DateBrn = {'$(=Max(DateBrn))'}&lt;/STRONG&gt; &amp;gt;} AmtOSTodayLcy )))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the second bar is not null because the Max(DateBrn) condition is fulfilled, but the first bar isn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&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;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: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 09:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125338#M8698</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2018-10-02T09:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection in Bar chart is failing</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125339#M8699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Gabor for the analysis.&lt;/P&gt;&lt;P&gt;Can you please advice me what condition shall i add or remove for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 09:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125339#M8699</guid>
      <dc:creator>deepikavijayan</dc:creator>
      <dc:date>2018-10-02T09:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection in Bar chart is failing</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125340#M8700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you need the AmtOSTodayLcy for the max date, group by Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if it is possible with set analysis, but you can create a flag for it in load script - the maximum date per month, and in the expression you can use , Date_flg={1}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe... &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;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 09:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125340#M8700</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2018-10-02T09:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection in Bar chart is failing</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125341#M8701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gabor.&lt;/P&gt;&lt;P&gt;I tried with the below expression replacing DateBrn as DMMonth&lt;/P&gt;&lt;P&gt;(IF((ISNULL(GetFieldSelections(DMMonth))),&lt;/P&gt;&lt;P&gt;sum(IF(DateBrn=ApplicationDate,AmtOSTodayLcy,AmtOSMonthendLcy))&lt;/P&gt;&lt;P&gt;,sum ({&amp;lt;AmtOSTodayLcy={"&amp;gt;0"}, DateBrn = {'$(=Max(date(DMMonth)))'} &amp;gt;} AmtOSTodayLcy )))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the multiple selection for months is working but there is another problem now.&lt;/P&gt;&lt;P&gt;There is another chart which shows date wise representation of the same.in a bar chart. There if I select multiple dates, the monthwise value becomes zero after i made the above changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For datewise representation below are the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Date dimension&lt;/P&gt;&lt;P&gt;(IF((ISNULL(GetFieldSelections(DMMonth))),&lt;/P&gt;&lt;P&gt;sum(IF(DateBrn=ApplicationDate,AmtOSTodayLcy,AmtOSMonthendLcy))&lt;/P&gt;&lt;P&gt;,sum ({&amp;lt;AmtOSTodayLcy={"&amp;gt;0"}, DateBrn = {'$(=Max(date(DMMonth)))'} &amp;gt;} AmtOSTodayLcy )))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for measure Outstanding Amount&lt;/P&gt;&lt;P&gt;SUM(AmtOSTodayLcy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 10:28:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125341#M8701</guid>
      <dc:creator>deepikavijayan</dc:creator>
      <dc:date>2018-10-02T10:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection in Bar chart is failing</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125342#M8702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm gettting lost, can you share a qvf with us, without confidental information of course?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 10:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125342#M8702</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2018-10-02T10:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection in Bar chart is failing</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125343#M8703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabor,&lt;/P&gt;&lt;P&gt;Attaching the qvf. Please have a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 17:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-selection-in-Bar-chart-is-failing/m-p/125343#M8703</guid>
      <dc:creator>deepikavijayan</dc:creator>
      <dc:date>2018-10-02T17:43:27Z</dc:date>
    </item>
  </channel>
</rss>

