<?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 questions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-questions/m-p/1882294#M1216904</link>
    <description>&lt;P&gt;Oh ok thanks. So it's better to put always a 1&amp;nbsp; but it's not necessary mandatory depending on the data.&lt;/P&gt;
&lt;P&gt;I will but the 1 in every part so &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jan 2022 13:25:39 GMT</pubDate>
    <dc:creator>flo2</dc:creator>
    <dc:date>2022-01-18T13:25:39Z</dc:date>
    <item>
      <title>Set analysis questions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-questions/m-p/1881781#M1216871</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i still don't understand some points about set analysis even with doc and previous questions on this forum&lt;/P&gt;
&lt;P&gt;for example &lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Set-analysis-ignore-the-selection/td-p/1143580" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/QlikView-App-Dev/Set-analysis-ignore-the-selection/td-p/1143580&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and &lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;if I have well understood :&lt;/P&gt;
&lt;P&gt;- Structure of set analysis like this one : Sum({&lt;SPAN style="color: #ff0000;"&gt;1&lt;/SPAN&gt;&amp;lt;Category = {'category1'}&amp;gt;}[Number of people]) &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;will allow not to take into account any selections on any fields ( cause of the identifier 1 )&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;- If we want precisely not to take into account selections of some fields we use structures like this one&amp;nbsp; ( we put the fields we don't want to take into account like the ones on red ) &lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;Category = {'category1'}&lt;SPAN style="color: #ff0000;"&gt;, Field1, Field2, Field3, Field4, Field5.....&lt;/SPAN&gt;&amp;gt;}[Number of people])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;- but I really don't understand how to deal with cases where we have to use operators for example * or +. &lt;BR /&gt;Have we to put on all parts of set analysis ? like&lt;BR /&gt;Sum({&lt;SPAN style="color: #ff0000;"&gt;1&lt;/SPAN&gt;&amp;lt;Field2 = {'category1'}&amp;gt;+&lt;FONT color="#FF0000"&gt;1&lt;/FONT&gt;&amp;lt;Field3 = {'category3'}&amp;gt;}[Number of people]) &lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;have we to put the 1 on the second part ? If we don't put it, the selecions for field3 is gonna be taken into account but not the selections for Field2 ? &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Thanks a lot for reading ! &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 13:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-questions/m-p/1881781#M1216871</guid>
      <dc:creator>flo2</dc:creator>
      <dc:date>2022-01-17T13:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis questions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-questions/m-p/1881817#M1216873</link>
      <description>&lt;P&gt;It depends on your data and requirements if you need an identifier on each subset of a set analysis statement or not. I think the easiest way to see the particular impact of each measure would be to create a straight-table with Field2 and Field3 and [Number of People] as dimensions and then using each (sub) statement as a single expression.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 14:18:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-questions/m-p/1881817#M1216873</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-01-17T14:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis questions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-questions/m-p/1882294#M1216904</link>
      <description>&lt;P&gt;Oh ok thanks. So it's better to put always a 1&amp;nbsp; but it's not necessary mandatory depending on the data.&lt;/P&gt;
&lt;P&gt;I will but the 1 in every part so &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 13:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-questions/m-p/1882294#M1216904</guid>
      <dc:creator>flo2</dc:creator>
      <dc:date>2022-01-18T13:25:39Z</dc:date>
    </item>
  </channel>
</rss>

