<?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: GetSelectedCount with Alternate states in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-with-Alternate-states/m-p/1824343#M67677</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Change your expression to:&lt;BR /&gt;&lt;SPAN&gt;if(getselectedcount(month) &amp;gt;0,&amp;nbsp;Sum({"State1"} Sales) +&amp;nbsp;Sum({"State2"} Sales), sum(sales))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 25 Jul 2021 06:59:23 GMT</pubDate>
    <dc:creator>Michael_K</dc:creator>
    <dc:date>2021-07-25T06:59:23Z</dc:date>
    <item>
      <title>GetSelectedCount with Alternate states</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-with-Alternate-states/m-p/1823975#M67615</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;It would be great if some one suggest on my below issue&lt;/P&gt;&lt;P&gt;I am trying to display sum with and without filed selections . But not getting result correctly. Details are below&lt;/P&gt;&lt;P&gt;Field Name : Month( Applied alternate State1) Field name: Month(Applied alternate state2)&lt;/P&gt;&lt;P&gt;I want to show the sum sales in table&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) if I select&amp;nbsp; month from fields then the sum should be Sum({"State1"} Sales) +&amp;nbsp;Sum({"State2"} Sales)&lt;/P&gt;&lt;P&gt;2) if no selection on month then Sum(Sales)&lt;/P&gt;&lt;P&gt;My expression is if(getselectedcount(month) &amp;gt;1,&amp;nbsp;Sum({"State1"} Sales) +&amp;nbsp;Sum({"State2"} Sales), sum(sales)).&lt;/P&gt;&lt;P&gt;the result is Sum(sales) and it is not working for selected months.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramki.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 18:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-with-Alternate-states/m-p/1823975#M67615</guid>
      <dc:creator>Ramki</dc:creator>
      <dc:date>2021-11-30T18:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount with Alternate states</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-with-Alternate-states/m-p/1824343#M67677</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Change your expression to:&lt;BR /&gt;&lt;SPAN&gt;if(getselectedcount(month) &amp;gt;0,&amp;nbsp;Sum({"State1"} Sales) +&amp;nbsp;Sum({"State2"} Sales), sum(sales))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jul 2021 06:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-with-Alternate-states/m-p/1824343#M67677</guid>
      <dc:creator>Michael_K</dc:creator>
      <dc:date>2021-07-25T06:59:23Z</dc:date>
    </item>
  </channel>
</rss>

