<?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 use nested aggregation including set analysis - Little Tricky in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-nested-aggregation-including-set-analysis-Little/m-p/1590203#M443500</link>
    <description>&lt;P&gt;Thank you Tresesco. That worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2019 22:08:22 GMT</pubDate>
    <dc:creator>karthick_hoag</dc:creator>
    <dc:date>2019-06-10T22:08:22Z</dc:date>
    <item>
      <title>How to use nested aggregation including set analysis - Little Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-nested-aggregation-including-set-analysis-Little/m-p/1589725#M443451</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please help with the below requirement:&lt;/P&gt;&lt;P&gt;I have a table in excel. Please see the attachment. I need to create a simple straight table with the following requirement.&lt;/P&gt;&lt;P&gt;Year is the Only dimension.&lt;/P&gt;&lt;P&gt;The expression should take the Column "Value", compare it with the column "Mean" and display the Column "Rank". Final output is Year as dimension and Rank as Measure. Column "Value" changes for every year.&lt;/P&gt;&lt;P&gt;Example,&amp;nbsp; For Year 2017, the Column "Value" is 70. So, 70 should be compared against the column "Mean".&amp;nbsp; Once the Mean is greater than the Column "Value", then take the corresponding Rank. In this case, for Year 2017, the value 70 exceeds the mean at Rank 39. So for 2017 it should be displayed as 39.&lt;/P&gt;&lt;P&gt;Similarly, for Year 2018, the value 80 exceeds the mean at Rank 89. So for 2018 it should be displayed as 89.&lt;/P&gt;&lt;P&gt;Similarly, for Year 2019, the value 90 exceeds the mean at Rank 99. So for 2019 it should be displayed as 99.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Final O/p is:&lt;/P&gt;&lt;P&gt;Year&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Rank&lt;/P&gt;&lt;P&gt;2017&amp;nbsp; &amp;nbsp; &amp;nbsp;39&lt;/P&gt;&lt;P&gt;2018&amp;nbsp; &amp;nbsp; &amp;nbsp;89&lt;/P&gt;&lt;P&gt;2019&amp;nbsp; &amp;nbsp; 99&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the following expression, but I am missing something here. So I am not getting the expected result:&lt;/P&gt;&lt;P&gt;=min(aggr(FirstSortedValue({&amp;lt;Mean={"&amp;gt;=$(=Only(Value))"}&amp;gt;}Rank,Mean),Year,Mean))&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-nested-aggregation-including-set-analysis-Little/m-p/1589725#M443451</guid>
      <dc:creator>karthick_hoag</dc:creator>
      <dc:date>2024-11-16T03:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nested aggregation including set analysis - Little Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-nested-aggregation-including-set-analysis-Little/m-p/1589735#M443452</link>
      <description>&lt;P&gt;Trickiness is in the way of thinking.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":face_savoring_food:"&gt;😋&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could probably use a simpler expression like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=FirstSortedValue(Rank, -if(Mean&amp;lt;=Value,Mean)) &lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 397px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13425iDEDDE54188C1B386/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2019 07:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-nested-aggregation-including-set-analysis-Little/m-p/1589735#M443452</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-06-08T07:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nested aggregation including set analysis - Little Tricky</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-nested-aggregation-including-set-analysis-Little/m-p/1590203#M443500</link>
      <description>&lt;P&gt;Thank you Tresesco. That worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 22:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-nested-aggregation-including-set-analysis-Little/m-p/1590203#M443500</guid>
      <dc:creator>karthick_hoag</dc:creator>
      <dc:date>2019-06-10T22:08:22Z</dc:date>
    </item>
  </channel>
</rss>

