<?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: Need help with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1571824#M442187</link>
    <description>&lt;P&gt;Found this nice page for almost all references for SET ANALYSIS concepts under one roof ...&amp;nbsp;&lt;A href="http://livingqlikview.com/livingqlik-roots-the-ultimate-qlikview-set-analysis-reference/" target="_blank"&gt;http://livingqlikview.com/livingqlik-roots-the-ultimate-qlikview-set-analysis-reference/&lt;/A&gt;&amp;nbsp;but it still does not help me completely because of the complicated problem that I'm trying to solve ... or I'm not looking at it correctly.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2019 01:30:09 GMT</pubDate>
    <dc:creator>Romi</dc:creator>
    <dc:date>2019-04-23T01:30:09Z</dc:date>
    <item>
      <title>Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1571532#M442166</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Data in question...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;surveyor_ID, survey_date, survey_key, survey_question, score, previous_score&lt;BR /&gt;ABCD1001, 4/25/2018, 74984, Are you taller than 6 feet?, 0,&lt;BR /&gt;ABCD1001, 4/25/2018, 74984, Do you like the songs in album X?, 1,&lt;BR /&gt;ABCD1001, 4/25/2018, 74984, Are you excited about the new product?, 0,&lt;BR /&gt;ABCD1001, 4/25/2018, 74984, Do you think our new menu additions have improved?, 0,&lt;BR /&gt;ABCD1001, 4/25/2018, 74984, Has the new location impacted your dining experience?, 0,&lt;BR /&gt;ABCD1001, 4/25/2018, 74984, Are you usually excited to know more about new movies?, 1,&lt;BR /&gt;ABCD1001, 4/25/2018, 74984, Do you support the move for cleaner environment?, 1,&lt;BR /&gt;ABCD1001, 4/25/2018, 74984, Do you feel confused with long-winded questions?, 0,&lt;BR /&gt;ABCD1001, 4/25/2018, 74984, Do you feel sleepy after lunch?, 0,&lt;BR /&gt;BCDE1002, 1/15/2019, 98421, Are you taller than 6 feet?, 0,&lt;BR /&gt;BCDE1002, 1/15/2019, 98421, Do you like the songs in album X?, 0,&lt;BR /&gt;BCDE1002, 1/15/2019, 98421, Are you excited about the new product?, 1,&lt;BR /&gt;BCDE1002, 1/15/2019, 98421, Do you think our new menu additions have improved?, 0,&lt;BR /&gt;BCDE1002, 1/15/2019, 98421, Has the new location impacted your dining experience?, 0,&lt;BR /&gt;BCDE1002, 1/15/2019, 98421, Are you usually excited to know more about new movies?, 0,&lt;BR /&gt;BCDE1002, 1/15/2019, 98421, Do you support the move for cleaner environment?, 0,&lt;BR /&gt;BCDE1002, 1/15/2019, 98421, Do you feel confused with long-winded questions?, 0,&lt;BR /&gt;BCDE1002, 1/15/2019, 98421, Do you feel sleepy after lunch?, 0,&lt;BR /&gt;CDEF1003, 6/6/2018, 78627, Are you taller than 6 feet?, 0, 0&lt;BR /&gt;CDEF1003, 6/6/2018, 78627, Do you like the songs in album X?, 0, 0&lt;BR /&gt;CDEF1003, 6/6/2018, 78627, Are you excited about the new product?, 1, 1&lt;BR /&gt;CDEF1003, 6/6/2018, 78627, Do you think our new menu additions have improved?, 0, 0&lt;BR /&gt;CDEF1003, 6/6/2018, 78627, Has the new location impacted your dining experience?, 0, 0&lt;BR /&gt;CDEF1003, 6/6/2018, 78627, Are you usually excited to know more about new movies?, 0, 0&lt;BR /&gt;CDEF1003, 6/6/2018, 78627, Do you support the move for cleaner environment?, 0, 0&lt;BR /&gt;CDEF1003, 6/6/2018, 78627, Do you feel confused with long-winded questions?, 0, 0&lt;BR /&gt;CDEF1003, 6/6/2018, 78627, Do you feel sleepy after lunch?, 0, 0&lt;BR /&gt;CDEF1003, 10/18/2018, 88192, Are you taller than 6 feet?, 0, 0&lt;BR /&gt;CDEF1003, 10/18/2018, 88192, Do you like the songs in album X?, 0, 0&lt;BR /&gt;CDEF1003, 10/18/2018, 88192, Are you excited about the new product?, 1, 1&lt;BR /&gt;CDEF1003, 10/18/2018, 88192, Do you think our new menu additions have improved?, 0, 0&lt;BR /&gt;CDEF1003, 10/18/2018, 88192, Has the new location impacted your dining experience?, 0, 0&lt;BR /&gt;CDEF1003, 10/18/2018, 88192, Are you usually excited to know more about new movies?, 0, 0&lt;BR /&gt;CDEF1003, 10/18/2018, 88192, Do you support the move for cleaner environment?, 0, 0&lt;BR /&gt;CDEF1003, 10/18/2018, 88192, Do you feel confused with long-winded questions?, 0, 0&lt;BR /&gt;CDEF1003, 10/18/2018, 88192, Do you feel sleepy after lunch?, 0, 0&lt;BR /&gt;CDEF1003, 3/22/2019, 98864, Are you taller than 6 feet?, 0, 0&lt;BR /&gt;CDEF1003, 3/22/2019, 98864, Do you like the songs in album X?, 0, 0&lt;BR /&gt;CDEF1003, 3/22/2019, 98864, Are you excited about the new product?, 1, 1&lt;BR /&gt;CDEF1003, 3/22/2019, 98864, Do you think our new menu additions have improved?, 0, 0&lt;BR /&gt;CDEF1003, 3/22/2019, 98864, Has the new location impacted your dining experience?, 0, 0&lt;BR /&gt;CDEF1003, 3/22/2019, 98864, Are you usually excited to know more about new movies?, 0, 0&lt;BR /&gt;CDEF1003, 3/22/2019, 98864, Do you support the move for cleaner environment?, 0, 0&lt;BR /&gt;CDEF1003, 3/22/2019, 98864, Do you feel confused with long-winded questions?, 0, 0&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Desired Output...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For every survey question, it should &lt;STRONG&gt;only consider the &lt;U&gt;latest survey&lt;/U&gt;&amp;nbsp;for each surveyor&lt;/STRONG&gt;&amp;nbsp;(user can of course choose a date range to change the time window in which case, the latest survey for each surveyor should appropriately change) and display the following...&lt;BR /&gt;&amp;nbsp; &amp;nbsp; - count of surveys that have scores of 1 as the current_numerator&lt;BR /&gt;&amp;nbsp; &amp;nbsp; - count of surveys that have scores of either a 0 or 1 (but no blank or anything else) as the current_denominator&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My attempts (that are not working)...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;curr_numer =&amp;nbsp;Count(DISTINCT {$&amp;lt;survey_key = {"=Max(survey_date) = Max(Aggr(Max(survey_date), surveyor_ID, survey_question))"}, score = {1}&amp;gt;} survey_key)&lt;BR /&gt;curr_denom =&amp;nbsp;Count(DISTINCT {$&amp;lt;survey_key = {"=Max(survey_date) = Max(Aggr(Max(survey_date), surveyor_ID, survey_question))"}, score = {0,1}&amp;gt;} survey_key)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Another Request...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is there some better book or detailed reference to the advanced set analysis? Besides the few examples on the QlikView online reference, I didn't find much.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2019 14:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1571532#M442166</guid>
      <dc:creator>Romi</dc:creator>
      <dc:date>2019-04-21T14:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1571824#M442187</link>
      <description>&lt;P&gt;Found this nice page for almost all references for SET ANALYSIS concepts under one roof ...&amp;nbsp;&lt;A href="http://livingqlikview.com/livingqlik-roots-the-ultimate-qlikview-set-analysis-reference/" target="_blank"&gt;http://livingqlikview.com/livingqlik-roots-the-ultimate-qlikview-set-analysis-reference/&lt;/A&gt;&amp;nbsp;but it still does not help me completely because of the complicated problem that I'm trying to solve ... or I'm not looking at it correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 01:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1571824#M442187</guid>
      <dc:creator>Romi</dc:creator>
      <dc:date>2019-04-23T01:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1571825#M442188</link>
      <description>&lt;P&gt;In the meantime, I went ahead and added a column named tank for ranking based on the data coming from the database in following manner...&lt;/P&gt;&lt;P&gt;rank() OVER(PARTITION BY surveyor_ID ORDER BY survey_date DESC, survey_key DESC) AS tank&lt;/P&gt;&lt;P&gt;Changed my expressions using that and they're giving me OH-SO-CLOSE results for a sample of 5K rows. I'm getting the result off by 1 (ONE!!) for the previous score's numerator calculation ... rest are showing good for this sample of 5K rows.&lt;/P&gt;&lt;P&gt;prev_numerator = Count(DISTINCT {$&amp;lt;survey_key = {"=Min(Aggr(Min(tank), surveyor_ID)) = Min(Aggr(Min(tank), surveyor_ID, survey_question))"}, previous_score = {1}&amp;gt;} survey_key)&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 01:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1571825#M442188</guid>
      <dc:creator>Romi</dc:creator>
      <dc:date>2019-04-23T01:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572074#M442220</link>
      <description>&lt;P&gt;Am not really sure I understand the final output you are hoping to get based on the input provided.... Would you be able to let us know what the final number for numerator and denominator you are hoping to get?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 12:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572074#M442220</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-23T12:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572092#M442222</link>
      <description>&lt;P&gt;I would suggest you to load only the latest records from the back end. so that you don't have to worry about set analysis.&lt;/P&gt;&lt;PRE&gt;Load *
Resident [Table Name]
Where surveyor_ID &amp;lt;&amp;gt; Previous (surveyor_ID)
Order by surveyor_ID, survey_date desc;&lt;/PRE&gt;&lt;P&gt;Exp: Count(Distinct {&amp;lt;&lt;SPAN&gt;score={1}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN&gt;survey_key&lt;/SPAN&gt;)/Count(Distinct &lt;SPAN&gt;survey_key&lt;/SPAN&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 12:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572092#M442222</guid>
      <dc:creator>Vengatesh</dc:creator>
      <dc:date>2019-04-23T12:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572274#M442230</link>
      <description>&lt;P&gt;Thanks for looking into it and I do realize how confusing my post might have been. I&amp;nbsp;cannot limit the data from the source to choose the latest survey because the user can change the duration of the survey and then, the latest survey will/can very quickly and easily change to a different one.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572274#M442230</guid>
      <dc:creator>Romi</dc:creator>
      <dc:date>2019-04-23T17:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572279#M442231</link>
      <description>&lt;P&gt;Thanks for looking into it and I do realize how confusing my post might have been. I should have pasted some pictures along. Better late than never ... here they are ... expectation (depicted in Excel) versus reality (what's happening on QlikView).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expectation&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Survey_ExpectedOutput.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10719i4BCACDF195C7DA59/image-size/large?v=v2&amp;amp;px=999" role="button" title="Survey_ExpectedOutput.jpg" alt="Survey_ExpectedOutput.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reality&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Survey_ActualOutput.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10720iA5AADF2047D439C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Survey_ActualOutput.jpg" alt="Survey_ActualOutput.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572279#M442231</guid>
      <dc:creator>Romi</dc:creator>
      <dc:date>2019-04-23T17:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572287#M442232</link>
      <description>&lt;P&gt;I guess my expression matchs the result that you are getting currently. Based on what we are getting, seems like we are only off for &lt;STRONG&gt;Do you feel sleepy after lunch?&lt;/STRONG&gt; question, right?&lt;/P&gt;&lt;P&gt;Why would the curr Denom by 2 and not 3 for Do you feel sleepy after lunch?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 669px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10725iFDB9B4E608382D3C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I see three surveryor_ID and all three have a recent response of 0 for score. Would that not make it a total of 3?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572287#M442232</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-23T17:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572295#M442234</link>
      <description>&lt;P&gt;Please allow me to express my gratitude once more (feeling very pleased and thankful for your time on my problem). The current denominator for the question "Do you feel sleepy after lunch?", will not be 3 because of the LATEST survey to be considered ONLY for getting the metrics calculated for each of the questions. If you filter out the Tank value = 1, you will see that. However, Tank value cannot always and blindly be 1 ... it can be whatever (but always, the minimum of the lot) depending on the survey period that the user chooses.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="caseInPoint.jpg" style="width: 795px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10729i8AE1E86B81B767D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="caseInPoint.jpg" alt="caseInPoint.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572295#M442234</guid>
      <dc:creator>Romi</dc:creator>
      <dc:date>2019-04-23T17:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572298#M442235</link>
      <description>&lt;P&gt;The latest survey for surveyor CDEF1003 (having survey key: 98864) didn't even have the question "Do you feel sleepy after lunch?" asked and answered ... is what I guess I was trying to say.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572298#M442235</guid>
      <dc:creator>Romi</dc:creator>
      <dc:date>2019-04-23T17:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572304#M442236</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;Prev Numer&lt;/P&gt;&lt;PRE&gt;Sum(Aggr(If(Max(TOTAL &amp;lt;surveyor_ID&amp;gt; survey_date) = survey_date and previous_score = 1, 1, 0), surveyor_ID, survey_date, survey_question))&lt;/PRE&gt;&lt;P&gt;Prev Denom&lt;/P&gt;&lt;PRE&gt;Sum(Aggr(If(Max(TOTAL &amp;lt;surveyor_ID&amp;gt; survey_date) = survey_date and Match(previous_score, 0, 1), 1, 0), surveyor_ID, survey_date, survey_question))&lt;/PRE&gt;&lt;P&gt;Curr Numer&lt;/P&gt;&lt;PRE&gt;Sum(Aggr(If(Max(TOTAL &amp;lt;surveyor_ID&amp;gt; survey_date) = survey_date and score = 1, 1, 0), surveyor_ID, survey_date, survey_question))&lt;/PRE&gt;&lt;P&gt;Curr Denom&lt;/P&gt;&lt;PRE&gt;Sum(Aggr(If(Max(TOTAL &amp;lt;surveyor_ID&amp;gt; survey_date) = survey_date and Match(score, 0, 1), 1, 0), surveyor_ID, survey_date, survey_question))&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Apr 2019 18:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572304#M442236</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-23T18:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572307#M442237</link>
      <description>&lt;P&gt;Without trying it out, I wanted to also let you know the reason for bringing the tank column into the equation (pulled from source data) ... I guess I can easily change the tank column to output a value just besides the rank to say, date appended with rank or something. But the thing is that I found some cases in the data where there were multiple surveys done for the same surveyor on the same date ... in which case, I wanted the maximum of the survey IDs to be picked up.&lt;/P&gt;&lt;P&gt;Thanks a lot again.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 18:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572307#M442237</guid>
      <dc:creator>Romi</dc:creator>
      <dc:date>2019-04-23T18:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572309#M442238</link>
      <description>&lt;P&gt;So, are you saying that there has been places where the above expression hasn't worked for you?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 18:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572309#M442238</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-23T18:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572317#M442239</link>
      <description>&lt;P&gt;Sorry to keep you waiting for a few ... I am yet to test it out but I modified the formula to include the use of tank in the following manner...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Prev Numer&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;Sum(Aggr(If(Max(TOTAL &amp;lt;surveyor_ID&amp;gt; survey_date) = survey_date and Min(TOTAL &amp;lt;surveyor_ID&amp;gt; tank) = tank and previous_score = 1, 1, 0), surveyor_ID, tank, survey_date, survey_question))&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Prev Denom&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;Sum(Aggr(If(Max(TOTAL &amp;lt;surveyor_ID&amp;gt; survey_date) = survey_date and Min(TOTAL &amp;lt;surveyor_ID&amp;gt; tank) = tank and Match(previous_score, 0, 1), 1, 0), surveyor_ID, tank, survey_date, survey_question))&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Curr Numer&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;Sum(Aggr(If(Max(TOTAL &amp;lt;surveyor_ID&amp;gt; survey_date) = survey_date and Min(TOTAL &amp;lt;surveyor_ID&amp;gt; tank) = tank and score = 1, 1, 0), surveyor_ID, tank, survey_date, survey_question))&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Curr Denom&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;Sum(Aggr(If(Max(TOTAL &amp;lt;surveyor_ID&amp;gt; survey_date) = survey_date and Min(TOTAL &amp;lt;surveyor_ID&amp;gt; tank) = tank and Match(score, 0, 1), 1, 0), surveyor_ID, tank, survey_date, survey_question))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 19:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572317#M442239</guid>
      <dc:creator>Romi</dc:creator>
      <dc:date>2019-04-23T19:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572318#M442240</link>
      <description>&lt;P&gt;okay.. let us know what you find &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 19:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572318#M442240</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-23T19:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572326#M442241</link>
      <description>&lt;P&gt;Worked perfectly ... &lt;STRONG&gt;Thank you so very much&lt;/STRONG&gt;, Sunny!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 19:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572326#M442241</guid>
      <dc:creator>Romi</dc:creator>
      <dc:date>2019-04-23T19:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572328#M442242</link>
      <description>&lt;P&gt;Awesome, Good job!!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 19:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Set-Analysis/m-p/1572328#M442242</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-23T19:50:24Z</dc:date>
    </item>
  </channel>
</rss>

