<?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: Set Expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Expression/m-p/1784453#M61146</link>
    <description>&lt;P&gt;Is your Year1 field is in the same table as&amp;nbsp;&lt;SPAN&gt;[Amount Millions] so you wouldn't need to mention anything in your set expression, upon selection it should show the desired value with&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum([Amount Millions])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If not in the same table, maybe you can show us the data model(or explain)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If there are two fields of Year with&amp;nbsp; similar values but different table not connected to each other you could use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum(Year=P(Year1)[Amount Millions])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i.e. from your &lt;STRONG&gt;year&lt;/STRONG&gt; field you could extract 2019, 2020 from FY19 or FY20.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Feb 2021 12:33:38 GMT</pubDate>
    <dc:creator>md_anasabbasi</dc:creator>
    <dc:date>2021-02-21T12:33:38Z</dc:date>
    <item>
      <title>Set Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Expression/m-p/1784416#M61139</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I got one issue in set analysis in QS,&amp;nbsp; &amp;nbsp;I have a filter pane for year selections so what i am trying to do is when i select any year from filter pane(Year) lets say I selected 2020 then my sum expression should show the sum of 2020 amount.&lt;/P&gt;&lt;P&gt;my sum expression is -&amp;gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year1= {$(=GetFieldSelections([=Year1]))}&amp;gt;}[Amount Millions])&lt;/P&gt;&lt;P&gt;where Year and Year1 are columns in dataset and Year column having Data like FY19,FY20(fiscal year) etc... and Year1 is having data like 2019,2020,2021.&lt;/P&gt;&lt;P&gt;Year1 is used for filter pane.&lt;/P&gt;&lt;P&gt;Bt the issue is when i am selecting any year , it is not showing the sum of amount instead it is showing 0.00&lt;/P&gt;&lt;P&gt;pls help .&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2021 17:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Expression/m-p/1784416#M61139</guid>
      <dc:creator>hargovind_singh</dc:creator>
      <dc:date>2021-02-20T17:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Expression/m-p/1784417#M61140</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum({&amp;lt;Year1={'$(=GetFieldSelections(Year1))'}&amp;gt;}[Amount Millions])&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 20 Feb 2021 17:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Expression/m-p/1784417#M61140</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2021-02-20T17:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Expression/m-p/1784453#M61146</link>
      <description>&lt;P&gt;Is your Year1 field is in the same table as&amp;nbsp;&lt;SPAN&gt;[Amount Millions] so you wouldn't need to mention anything in your set expression, upon selection it should show the desired value with&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum([Amount Millions])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If not in the same table, maybe you can show us the data model(or explain)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If there are two fields of Year with&amp;nbsp; similar values but different table not connected to each other you could use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum(Year=P(Year1)[Amount Millions])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i.e. from your &lt;STRONG&gt;year&lt;/STRONG&gt; field you could extract 2019, 2020 from FY19 or FY20.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 12:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Expression/m-p/1784453#M61146</guid>
      <dc:creator>md_anasabbasi</dc:creator>
      <dc:date>2021-02-21T12:33:38Z</dc:date>
    </item>
  </channel>
</rss>

