<?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: Sum values based on selected countries in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-values-based-on-selected-countries/m-p/1747800#M57492</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/65458"&gt;@Kunkulis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any chance you can share a sample of the data? I also assume that the country and Year in the $ Expansion are variables? What are the calculations for those?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:12:37 GMT</pubDate>
    <dc:creator>Steven_Haught</dc:creator>
    <dc:date>2020-09-28T16:12:37Z</dc:date>
    <item>
      <title>Sum values based on selected countries</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-values-based-on-selected-countries/m-p/1747745#M57481</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have selected 3 countries:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Denmark (0.05)&lt;/LI&gt;&lt;LI&gt;Sweden (0.1)&lt;/LI&gt;&lt;LI&gt;Germany(0.5)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The numbers in brackets are the ones I want to Sum, but I keep getting 0&lt;BR /&gt;Also, please keep in mind, that there are way more countries in the app, so the SUM has to be dynamic and change on the selections.&lt;/P&gt;&lt;P&gt;Currently I am trying this formula, which seems correct, but, as I said, I keep getting a 0&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Sum({&amp;lt;Country={'$(=Country)'},Year={'$(=Year)'}&amp;gt;}Number)&lt;/LI-CODE&gt;&lt;P&gt;I tried&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Sum({&amp;lt;Country&amp;gt;}Number)&lt;/LI-CODE&gt;&lt;P&gt;Which did work, but it gave me (what I assume) was the whole sum&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:22:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-values-based-on-selected-countries/m-p/1747745#M57481</guid>
      <dc:creator>Kunkulis</dc:creator>
      <dc:date>2024-11-16T01:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sum values based on selected countries</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-values-based-on-selected-countries/m-p/1747800#M57492</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/65458"&gt;@Kunkulis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any chance you can share a sample of the data? I also assume that the country and Year in the $ Expansion are variables? What are the calculations for those?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-values-based-on-selected-countries/m-p/1747800#M57492</guid>
      <dc:creator>Steven_Haught</dc:creator>
      <dc:date>2020-09-28T16:12:37Z</dc:date>
    </item>
  </channel>
</rss>

