<?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: Total issue in set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Total-issue-in-set-analysis/m-p/1925335#M76155</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the response. Please find the sample data.&lt;/P&gt;
&lt;P&gt;Test:&lt;/P&gt;
&lt;P&gt;load * inline&lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;Dim, Value , Period&lt;/P&gt;
&lt;P&gt;A, 10.08, 2018&lt;/P&gt;
&lt;P&gt;A, 15.03, 2019&lt;/P&gt;
&lt;P&gt;B, 7727.45, 2018&lt;/P&gt;
&lt;P&gt;B, 8482.66, 2019&lt;/P&gt;
&lt;P&gt;C, 88.62, 2018&lt;/P&gt;
&lt;P&gt;C, 100.05, 2019&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;Pivot table expression: &amp;nbsp;if(dim ='A', (sum(total{&amp;lt;Dim={'C'}&amp;gt;}Value)/sum(total{&amp;lt;Dim={'B'}&amp;gt;}Value))*100,&lt;/P&gt;
&lt;P&gt;sum(Value))&lt;/P&gt;
&lt;P&gt;When i don't make selections on period its giving me same value for both 2018 and 2019 for Dim = A &amp;nbsp;1.16 but i am expecting 1.15 for 2018 and 1.18 for 2019 for Dim =A without selecting period filter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2022 21:09:20 GMT</pubDate>
    <dc:creator>dandaanilreddy</dc:creator>
    <dc:date>2022-05-02T21:09:20Z</dc:date>
    <item>
      <title>Total issue in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Total-issue-in-set-analysis/m-p/1925217#M76145</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I have used total in set analysis for one of the calculation but its not giving me the correct result. I have month data for each year starting from 2018 to 2026 and i created year data by summing up 12 months for each year. When i used total in set analysis i'm getting 1.05 instead of 1.15 for the below for 2018 year but when i select 2018 its giving 1.15 value but user don't want to select any year. Please can someone let me know how can i get the correct result without selecting year filter? Thanks in advance.&lt;/P&gt;
&lt;P&gt;A= C/B&lt;/P&gt;
&lt;P&gt;B= 88.62&lt;/P&gt;
&lt;P&gt;C= 7727.45&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 14:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-issue-in-set-analysis/m-p/1925217#M76145</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2022-05-02T14:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Total issue in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Total-issue-in-set-analysis/m-p/1925328#M76154</link>
      <description>&lt;P&gt;Unfortunately, the information you have provided is not sufficient to try and help you with your problem. If you attach some of the actual underlying data and the actual formulas used, it is more likely that someone would be able to help.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 20:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-issue-in-set-analysis/m-p/1925328#M76154</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-05-02T20:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Total issue in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Total-issue-in-set-analysis/m-p/1925335#M76155</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the response. Please find the sample data.&lt;/P&gt;
&lt;P&gt;Test:&lt;/P&gt;
&lt;P&gt;load * inline&lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;Dim, Value , Period&lt;/P&gt;
&lt;P&gt;A, 10.08, 2018&lt;/P&gt;
&lt;P&gt;A, 15.03, 2019&lt;/P&gt;
&lt;P&gt;B, 7727.45, 2018&lt;/P&gt;
&lt;P&gt;B, 8482.66, 2019&lt;/P&gt;
&lt;P&gt;C, 88.62, 2018&lt;/P&gt;
&lt;P&gt;C, 100.05, 2019&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;Pivot table expression: &amp;nbsp;if(dim ='A', (sum(total{&amp;lt;Dim={'C'}&amp;gt;}Value)/sum(total{&amp;lt;Dim={'B'}&amp;gt;}Value))*100,&lt;/P&gt;
&lt;P&gt;sum(Value))&lt;/P&gt;
&lt;P&gt;When i don't make selections on period its giving me same value for both 2018 and 2019 for Dim = A &amp;nbsp;1.16 but i am expecting 1.15 for 2018 and 1.18 for 2019 for Dim =A without selecting period filter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 21:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-issue-in-set-analysis/m-p/1925335#M76155</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2022-05-02T21:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Total issue in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Total-issue-in-set-analysis/m-p/1925429#M76164</link>
      <description>&lt;P&gt;This is because you are aggregating on a&lt;U&gt; Dummy/Non-Associated&lt;/U&gt; dimension in your chart dim='A'&lt;/P&gt;
&lt;P&gt;The total keyword will aggregate it for dim=A(not for Dim=B or Dim=C), which is unrelated so your numerator and denominator for any period will be same&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just remove the total keyword or use a &lt;STRONG&gt;dim &lt;/STRONG&gt;which is associated&lt;/P&gt;
&lt;P&gt;=if(dim ='A', (sum({&amp;lt;Dim={'C'}&amp;gt;}Value)/sum({&amp;lt;Dim={'B'}&amp;gt;}Value))*100,sum(Value))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 07:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-issue-in-set-analysis/m-p/1925429#M76164</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-03T07:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Total issue in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Total-issue-in-set-analysis/m-p/1925661#M76190</link>
      <description>&lt;P&gt;&lt;STRONG&gt;i have used the period in my set analysis expression and it worked &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;if(dim ='A', (sum(total&amp;lt;period&amp;gt;{&amp;lt;Dim={'C'}&amp;gt;}Value)/sum(total&amp;lt;period&amp;gt;{&amp;lt;Dim={'B'}&amp;gt;}Value))*100,&lt;/P&gt;
&lt;P&gt;sum(Value))&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 13:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-issue-in-set-analysis/m-p/1925661#M76190</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2022-05-03T13:06:22Z</dc:date>
    </item>
  </channel>
</rss>

