<?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 get summary from firstsortedvalue? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-summary-from-firstsortedvalue/m-p/1547745#M440000</link>
    <description>Hi, maybe adding it as dimension:&lt;BR /&gt;=Aggr(FirstSortedValue( distinct&lt;BR /&gt;{$&amp;lt;YearMonth,&lt;BR /&gt;BMI={'&amp;gt;0'},&lt;BR /&gt;VISITTYPE={'Office visit'},&lt;BR /&gt;CONTACT_DATE ={"$(='&amp;lt;=' &amp;amp; Date(enddateSelected))"}&amp;gt;} INTBMI, -CONTACT_DATE), PAT_ID)&lt;BR /&gt;&lt;BR /&gt;And Count(Distinct PAT_ID) as expression</description>
    <pubDate>Thu, 21 Feb 2019 21:24:25 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2019-02-21T21:24:25Z</dc:date>
    <item>
      <title>How to get summary from firstsortedvalue?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-summary-from-firstsortedvalue/m-p/1547700#M439997</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was able to get the last BMI status (underweight, healthy weight, overweight and obesity) by using FirstsortedValue for each patients by using PAT_NAME AND PAT_ID as dimension,&lt;/P&gt;&lt;P&gt;=FirstSortedValue( distinct&lt;BR /&gt;{$&amp;lt;YearMonth,&lt;BR /&gt;BMI={'&amp;gt;0'},&lt;BR /&gt;VISITTYPE={'Office visit'},&lt;/P&gt;&lt;P&gt;CONTACT_DATE ={"$(='&amp;lt;=' &amp;amp; Date(enddateSelected))"}&amp;gt;} INTBMI, -CONTACT_DATE)&lt;/P&gt;&lt;P&gt;I would like to know how to get the summary for all the patients - the patient number for each BMI category. I thought it might need use AGGR function. But I have not clue how to get it done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-summary-from-firstsortedvalue/m-p/1547700#M439997</guid>
      <dc:creator>baylor2016</dc:creator>
      <dc:date>2024-11-16T04:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get summary from firstsortedvalue?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-summary-from-firstsortedvalue/m-p/1547745#M440000</link>
      <description>Hi, maybe adding it as dimension:&lt;BR /&gt;=Aggr(FirstSortedValue( distinct&lt;BR /&gt;{$&amp;lt;YearMonth,&lt;BR /&gt;BMI={'&amp;gt;0'},&lt;BR /&gt;VISITTYPE={'Office visit'},&lt;BR /&gt;CONTACT_DATE ={"$(='&amp;lt;=' &amp;amp; Date(enddateSelected))"}&amp;gt;} INTBMI, -CONTACT_DATE), PAT_ID)&lt;BR /&gt;&lt;BR /&gt;And Count(Distinct PAT_ID) as expression</description>
      <pubDate>Thu, 21 Feb 2019 21:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-summary-from-firstsortedvalue/m-p/1547745#M440000</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-02-21T21:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get summary from firstsortedvalue?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-summary-from-firstsortedvalue/m-p/1547746#M440001</link>
      <description>Great! Works perfectly!</description>
      <pubDate>Thu, 21 Feb 2019 21:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-summary-from-firstsortedvalue/m-p/1547746#M440001</guid>
      <dc:creator>baylor2016</dc:creator>
      <dc:date>2019-02-21T21:27:48Z</dc:date>
    </item>
  </channel>
</rss>

