<?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: Conditional Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1055423#M353872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks SunnyT for the quick reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am looking for a more scalable and flexible solution.&lt;/P&gt;&lt;P&gt;The problem here, is that I will not only have 3 but at least 15 attributes.&lt;/P&gt;&lt;P&gt;Additionally, this solution cannot handle multiple selection. I did not use mixed selection as an example indeed, but it can happen. So, maybe you are interested in Y and Z but not W. Too much combination to be handled using this "nested if statement" concept.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2016 12:15:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-23T12:15:05Z</dc:date>
    <item>
      <title>Conditional Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1055421#M353870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;I’d like to build an expression that allows the users to flexibly change the number of conditions in the aggregations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;The aim is to count column X if column Y,Z,W…ect has VALID values. (In each row, VALID values are flagged with 1 and with 0 if NOT VALID).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;That would be a simple set analysis: &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;ValidY&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; = {1},&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt; ValidZ&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; = {1},&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt; ValidW&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; = {1}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;X&gt;&lt;/X&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;However I’d have buttons/text areas that changes variables. Based on that variable (on/off) the expression should/should not consider Y,Z or W flagging.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;In this way, the user could see the result of “data quality” in summary, flexibly throwing in conditions to consider, on the fly.&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;To be more specific, consider this data set:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119127_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;So, let’s say for me, valid Z attribute is quite important – Y and W, are not that much. (this could be different for other users). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Therefore, I’d hit the “Consider Z” button (changing flagging variable v_ValidZ to be 1), and the expression would return: "You have 80% good data" (only 1 out of 5 is missing), completely ignoring missing Y and W values – that would drag my results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Please also note, that the focus of the analysis is value X, which could be missing also.&amp;nbsp; In this case, that row should be ignored as well, so focusing only on attributes (Y,Z,W) is not an option. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;We would only use attributes to filter data set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 10:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1055421#M353870</guid>
      <dc:creator />
      <dc:date>2016-03-23T10:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1055422#M353871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(vVar = 1, Count({&amp;lt;ValidY = {1}&amp;gt;} X),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;If(vVar = 2, Count({&amp;lt;ValidZ = {1}&amp;gt;} X),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(vVar = 3, Count({&amp;lt;ValidW = {1}&amp;gt;} X)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where each of your button sets a different value for vVar&lt;/P&gt;&lt;P&gt;Button for Y will set &lt;STRONG&gt;vVar = 1, Z-&amp;gt; vVar = 2, W-&amp;gt; vVar = 3&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 11:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1055422#M353871</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-23T11:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1055423#M353872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks SunnyT for the quick reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am looking for a more scalable and flexible solution.&lt;/P&gt;&lt;P&gt;The problem here, is that I will not only have 3 but at least 15 attributes.&lt;/P&gt;&lt;P&gt;Additionally, this solution cannot handle multiple selection. I did not use mixed selection as an example indeed, but it can happen. So, maybe you are interested in Y and Z but not W. Too much combination to be handled using this "nested if statement" concept.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 12:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1055423#M353872</guid>
      <dc:creator />
      <dc:date>2016-03-23T12:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1055424#M353873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA a possible solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 12:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1055424#M353873</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-03-23T12:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1055425#M353874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anjos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just, simply clever!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tamas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1055425#M353874</guid>
      <dc:creator />
      <dc:date>2016-03-23T14:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1725454#M451994</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Clever_Anjos,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your solution to this question. Unfortunately I'm a Qlik Sense user so am not able to see what's in the qvw file. Would you be able to post in clear text the set analysis formula you used?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 15:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Set-Analysis/m-p/1725454#M451994</guid>
      <dc:creator>kwdaniels</dc:creator>
      <dc:date>2020-07-06T15:44:15Z</dc:date>
    </item>
  </channel>
</rss>

