<?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: how to write set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476891#M1140148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please can anyone help me as I don't have much idea to use set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 12:11:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-25T12:11:58Z</dc:date>
    <item>
      <title>how to write set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476890#M1140147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to write set analysis to get this information in Staright table. could anyone help me how to write the set snalysis please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bank Account Balance = SUM(ActualAmount) from EXP.CASH_TRANSACTIONS where ActualAccountID = &amp;lt;allocated accountID for each individual case&amp;gt;&lt;BR /&gt;BI Account Balance = SUM(ActualAmount) from EXP.CASH_TRANSACTIONS where AccountID = &amp;lt;allocated accountID for each individual case&amp;gt;&lt;BR /&gt;Sum of funds held = SUM(AmountReserved) from EXP.CASH_PAYMENTPLAN where AccountID = &amp;lt;allocated accountID for each individual case&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here ActualAccountID is from EXP.CASH_TRANSACTIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AccountID is from EXP.CASH_TRANSACTIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AccountID is from EXP.CASH_PAYMENTPLAN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 11:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476890#M1140147</guid>
      <dc:creator />
      <dc:date>2013-09-25T11:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476891#M1140148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please can anyone help me as I don't have much idea to use set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 12:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476891#M1140148</guid>
      <dc:creator />
      <dc:date>2013-09-25T12:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476892#M1140149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amelia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please ellaborate ypur problem as it is not meaningful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;YourField1={Your Value}, YourField2={Your Value} &amp;gt;} YourField).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 12:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476892#M1140149</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2013-09-25T12:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476893#M1140150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get Sum(ActualAmount) for each case and the condition shoud be ActualAccountID=AccountID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please let me know if I get for one column I will do it for all. and could you let me know some more clear about Sum({$&amp;lt;YourField1={Your Value}, YourField2={Your Value} &amp;gt;} YourField).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 12:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476893#M1140150</guid>
      <dc:creator />
      <dc:date>2013-09-25T12:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476894#M1140151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can be similar to this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;ActualAccountID={$(=only(AccountID))}&amp;gt;} ActualAmount) for your case but not sure of the Only function .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the Set analysis expression will be similar for your case.You can try the above expression &amp;amp; verify whether the expected values are getting..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 13:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476894#M1140151</guid>
      <dc:creator />
      <dc:date>2013-09-25T13:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476895#M1140152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is either &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ActualAccountID or AccountID a dimension on your table? If so, I am afraid that you cannot use set analysis in this case. If your dataset is not too large, you can use &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(If(ActualAccountID=AccountID, ActualAmount))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;But this will perform poorly if your dataset is large and ActualAccountID and AccountID are in different tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Jonathan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 14:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476895#M1140152</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-09-25T14:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476896#M1140153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right these two are in different tables and because of this it's performaing porrly. Could you help how to increase the performance and somehow it is getting the incorrect values also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 14:39:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476896#M1140153</guid>
      <dc:creator />
      <dc:date>2013-09-25T14:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476897#M1140154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amelia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hard to say without understanding your data model. Could you post more detail such as a sample model and/or table view of the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general when you are dealing with large datasets, you want to transform the data into a star schema. This usually gives the best compromise between model size and performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 14:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476897#M1140154</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-09-25T14:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to write set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476898#M1140155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please find attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 14:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-set-analysis/m-p/476898#M1140155</guid>
      <dc:creator />
      <dc:date>2013-09-25T14:50:53Z</dc:date>
    </item>
  </channel>
</rss>

