<?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 Analysis Question in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Question/m-p/2047528#M86160</link>
    <description>&lt;P&gt;I figured out a way to make this work. There may be better ways, but this worked for my purposes:&lt;/P&gt;
&lt;P&gt;If([GL Account]='410000', Sum(Total &amp;lt;[Company]&amp;gt; {&amp;lt;[GL Account]={'410000','410030'}&amp;gt;} [Sales Revenue]))&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 16:04:55 GMT</pubDate>
    <dc:creator>Brysonds</dc:creator>
    <dc:date>2023-03-09T16:04:55Z</dc:date>
    <item>
      <title>Set Analysis Question</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Question/m-p/2047507#M86157</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have data structure like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Brysonds_2-1678376537903.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102405iC11E4D9F9BF19B4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Brysonds_2-1678376537903.png" alt="Brysonds_2-1678376537903.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to show the sum of 410000 + 410030 to appear only under 410000 (so $215,899.71).&lt;/P&gt;
&lt;P&gt;I tried using this set analysis, but it only showed the amount for 410000:&lt;/P&gt;
&lt;P&gt;If([GL Account]='410000', Sum({&amp;lt;[GL Account]={'410000'}&amp;gt;} [Sales Revenue]) + Sum({&amp;lt;[GL Account]={'410030'}&amp;gt;} [Sales Revenue]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Brysonds_3-1678376684377.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102407iA2415FCAD4E6F92E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Brysonds_3-1678376684377.png" alt="Brysonds_3-1678376684377.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I get amounts from different GL accounts to appear under other GL accounts (just for the sales revenue column, there are other measures not shown here).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this better to perform in the load script vs. set analysis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 15:46:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Question/m-p/2047507#M86157</guid>
      <dc:creator>Brysonds</dc:creator>
      <dc:date>2023-03-09T15:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Question/m-p/2047528#M86160</link>
      <description>&lt;P&gt;I figured out a way to make this work. There may be better ways, but this worked for my purposes:&lt;/P&gt;
&lt;P&gt;If([GL Account]='410000', Sum(Total &amp;lt;[Company]&amp;gt; {&amp;lt;[GL Account]={'410000','410030'}&amp;gt;} [Sales Revenue]))&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 16:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Question/m-p/2047528#M86160</guid>
      <dc:creator>Brysonds</dc:creator>
      <dc:date>2023-03-09T16:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Question/m-p/2047542#M86161</link>
      <description>&lt;P&gt;from my perspective, you are really talking about a grouping of GLs.&amp;nbsp; if you add a new field called GL Group and these two GLs fall under 410000, then it will just be rolled up&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 16:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Question/m-p/2047542#M86161</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2023-03-09T16:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Question/m-p/2047576#M86164</link>
      <description>&lt;P&gt;I too believe creating new GL groupings would be easier to maintain in the long run, especially if you think more of these will come up.&lt;/P&gt;
&lt;P&gt;In our team, we often use google sheets (we use the G Suite) to create new fields/tables for a better experience than inline tables (although it's on a case-by-case basis).&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 18:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Question/m-p/2047576#M86164</guid>
      <dc:creator>MichelLalancette</dc:creator>
      <dc:date>2023-03-09T18:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Question/m-p/2047578#M86165</link>
      <description>&lt;P&gt;Thanks all for the idea about maintaining a grouping -- that is a good way to handle it and can be done in load script as well, going to explore that design approach since it is easier to manage long term.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 18:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Question/m-p/2047578#M86165</guid>
      <dc:creator>Brysonds</dc:creator>
      <dc:date>2023-03-09T18:08:22Z</dc:date>
    </item>
  </channel>
</rss>

