<?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 Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/734696#M1241688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;We got function like this for drop selection in specific field:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;Sum of Sales and &lt;STRONG&gt;ignore specific selections&lt;/STRONG&gt; for Customer Country and Policy Status:- &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;SUM(&lt;SPAN style="color: red;"&gt; {$&lt;/SPAN&gt;&lt;SPAN style="color: #00b050;"&gt;&amp;lt;[Customer Country] = , [Policy Status] = &amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;}&lt;/SPAN&gt; Sales )&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;But how can we reverse this logic and define what fields should be used for calculation? Or we can ask: How we can break association model in QlikView by Set Analysis?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;My situation&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;I got application with 20 and more selectable fields. For one of the expressions I need to make sum() using selections from 3 field. Let their names be Year, Day, Month. Of course we should have possibility for making multiply selection in every field. I probably could use this example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif';"&gt;&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-family: Arial, sans-serif;"&gt; &lt;SPAN style="color: red;"&gt;{$&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-family: Arial, sans-serif; color: #00b050;"&gt;&amp;lt;Year = {&lt;EM style="color: #808080;"&gt;$(=only(Year) – 1)&lt;/EM&gt;}&amp;gt;&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-family: Arial, sans-serif; color: red;"&gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif';"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif';"&gt;But it would show me smth if I make selection of 1 year in field Year.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;I want to get smth like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;SPAN lang="SV" style="font-family: Arial, sans-serif;"&gt;SUM(&lt;SPAN style="color: red;"&gt; {@&lt;/SPAN&gt;&lt;SPAN style="color: #00b050;"&gt;&amp;lt;Year = , Day = , Month = &amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;}&lt;/SPAN&gt; Sales )&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;SPAN lang="SV" style="font-family: Arial, sans-serif;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;Where operator @ make reverse logic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;I just cant get simple expression. I can write LONG expression like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;&lt;STRONG style="font-family: Arial, sans-serif;"&gt;&lt;SPAN lang="SV" style="font-family: Arial, sans-serif;"&gt;SUM(&lt;SPAN style="color: red;"&gt; {$&lt;/SPAN&gt;&lt;SPAN style="color: #00b050;"&gt;&amp;lt;Param1 = , &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param2 = &lt;/STRONG&gt; , &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param3 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param4 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param5 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param6 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param7 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param8 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param9 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param10 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param11 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param12 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param13 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param14 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param15 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param16 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param17 = &lt;/STRONG&gt; &amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;}&lt;/SPAN&gt; Sales )&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;&lt;SPAN lang="SV" style="font-family: Arial, sans-serif;"&gt;It solve my problem, but it's not simple as it can be. &lt;/SPAN&gt;&lt;STRONG style="font-family: Arial, sans-serif;"&gt;&lt;SPAN lang="SV" style="font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
    <dc:creator>stantrolav</dc:creator>
    <dc:date>2026-01-26T16:26:21Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/734696#M1241688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;We got function like this for drop selection in specific field:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;Sum of Sales and &lt;STRONG&gt;ignore specific selections&lt;/STRONG&gt; for Customer Country and Policy Status:- &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;SUM(&lt;SPAN style="color: red;"&gt; {$&lt;/SPAN&gt;&lt;SPAN style="color: #00b050;"&gt;&amp;lt;[Customer Country] = , [Policy Status] = &amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;}&lt;/SPAN&gt; Sales )&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;But how can we reverse this logic and define what fields should be used for calculation? Or we can ask: How we can break association model in QlikView by Set Analysis?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;My situation&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;I got application with 20 and more selectable fields. For one of the expressions I need to make sum() using selections from 3 field. Let their names be Year, Day, Month. Of course we should have possibility for making multiply selection in every field. I probably could use this example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif';"&gt;&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-family: Arial, sans-serif;"&gt; &lt;SPAN style="color: red;"&gt;{$&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-family: Arial, sans-serif; color: #00b050;"&gt;&amp;lt;Year = {&lt;EM style="color: #808080;"&gt;$(=only(Year) – 1)&lt;/EM&gt;}&amp;gt;&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-family: Arial, sans-serif; color: red;"&gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif';"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif';"&gt;But it would show me smth if I make selection of 1 year in field Year.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;I want to get smth like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN lang="SV" style="font-family: 'Arial','sans-serif';"&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;SPAN lang="SV" style="font-family: Arial, sans-serif;"&gt;SUM(&lt;SPAN style="color: red;"&gt; {@&lt;/SPAN&gt;&lt;SPAN style="color: #00b050;"&gt;&amp;lt;Year = , Day = , Month = &amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;}&lt;/SPAN&gt; Sales )&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;SPAN lang="SV" style="font-family: Arial, sans-serif;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;Where operator @ make reverse logic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;I just cant get simple expression. I can write LONG expression like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;&lt;STRONG style="font-family: Arial, sans-serif;"&gt;&lt;SPAN lang="SV" style="font-family: Arial, sans-serif;"&gt;SUM(&lt;SPAN style="color: red;"&gt; {$&lt;/SPAN&gt;&lt;SPAN style="color: #00b050;"&gt;&amp;lt;Param1 = , &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param2 = &lt;/STRONG&gt; , &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param3 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param4 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param5 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param6 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param7 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param8 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param9 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param10 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param11 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param12 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param13 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param14 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param15 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param16 = &lt;/STRONG&gt;, &lt;STRONG style=": ; color: #00b050; font-family: Arial, sans-serif;"&gt;Param17 = &lt;/STRONG&gt; &amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;}&lt;/SPAN&gt; Sales )&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-right: -67.85pt;"&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;&lt;SPAN lang="SV" style="font-family: Arial, sans-serif;"&gt;It solve my problem, but it's not simple as it can be. &lt;/SPAN&gt;&lt;STRONG style="font-family: Arial, sans-serif;"&gt;&lt;SPAN lang="SV" style="font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/734696#M1241688</guid>
      <dc:creator>stantrolav</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/734697#M1241689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Just try your imaginations with that: &lt;A href="http://tools.qlikblog.at/SetAnalysisWizard/QlikView-SetAnalysis_Wizard_and_Generator.aspx?sa=" title="http://tools.qlikblog.at/SetAnalysisWizard/QlikView-SetAnalysis_Wizard_and_Generator.aspx?sa="&gt;Set Analysis Wizard for QlikView | qlikblog.at&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, describe with more density your task, as it connected to different solutions. Drop here a user experience work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 20:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/734697#M1241689</guid>
      <dc:creator>marchoctober</dc:creator>
      <dc:date>2014-07-08T20:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/734698#M1241691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sounds like a perfect use case either for the P() modifier or simply use alternate states.&lt;/P&gt;&lt;P&gt;In the attached example I have used alternate states, they are created from the document properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data model is then separated into more then the usual 1 and $ states and you can cross reference fields between the different states.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example app you will see that the text object will only re-calculate when you select something in the Dim1 listbox. It's a bit crude as examples goes but I think you get the general gist behind it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 12:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/734698#M1241691</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2014-07-11T12:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/734699#M1241692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You got it! The answer is in using operator p() or State modifier in doc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 11:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/734699#M1241692</guid>
      <dc:creator>stantrolav</dc:creator>
      <dc:date>2014-07-21T11:25:32Z</dc:date>
    </item>
  </channel>
</rss>

