<?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: Histogram with value intervals as dimension. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288842#M846907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This, unfortunately won't be possible I think.... But I may be wrong and someone else might be able to assist....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Mar 2017 13:25:54 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-03-28T13:25:54Z</dc:date>
    <item>
      <title>Histogram with value intervals as dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288835#M846895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the following fact table:&lt;/P&gt;&lt;P&gt;VisitDate, Patient, KFRE&lt;/P&gt;&lt;P&gt;KFRE is a numerical value between 0 and1.&lt;/P&gt;&lt;P&gt;I was able to create a nice simple histogram where chart dimension is&lt;SPAN style="font-size: 10pt;"&gt; =&lt;SPAN style="color: #0000ff;"&gt;Round&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;KFRE&lt;/SPAN&gt;, 0.025)&amp;nbsp; and expression is =&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Patient&lt;/SPAN&gt;) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This gives me the number of visits with KFRE values within each KFRE interval for all the visits.&lt;/P&gt;&lt;P&gt;Since a patient can have more than 1 visit I need such histogram but only for the last patient's visit.&lt;/P&gt;&lt;P&gt;The expression would be something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VisitDate&lt;/SPAN&gt;&lt;SPAN&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(VisitDate))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Patient&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;but I am not getting any values on output.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;What am I doing wrong?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288835#M846895</guid>
      <dc:creator>marunio007</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram with value intervals as dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288836#M846896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like below,&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;VisitDate={'$(=Max(VisitDate))'} &amp;gt;} Patient)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it's not working, can you share your sample app with mock data. tks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also check this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16967"&gt;Histogram example&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3838"&gt;Recipe for a Histogram&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 18:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288836#M846896</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-03-27T18:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram with value intervals as dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288837#M846898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply, but same result - no values on the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 18:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288837#M846898</guid>
      <dc:creator>marunio007</dc:creator>
      <dc:date>2017-03-27T18:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram with value intervals as dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288838#M846900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(Aggr(Count(Patient), VisitDate, Patient), -Aggr(VisitDate, VisitDate, Patient))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 18:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288838#M846900</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-27T18:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram with value intervals as dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288839#M846902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny, but this does not seem to work...&lt;/P&gt;&lt;P&gt;In the attached sample I am looking to get this:&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;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="104" style="width: 271px; height: 81px;" width="268"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="17" style="border: 0.5pt solid silver; border-image: none; background-color: whitesmoke;" width="135"&gt;&lt;STRONG style="color: #363636;"&gt;ROUND(KFRE,0.025)&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: silver silver silver #363636; background-color: whitesmoke;" width="137"&gt;&lt;STRONG style="color: #363636;"&gt;Last Visit KFRE Count&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #363636 silver silver; background-color: white;" width="135"&gt;&lt;SPAN style="color: #363636;"&gt;0.050&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="137"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #363636 silver silver; background-color: white;" width="135"&gt;&lt;SPAN style="color: #363636;"&gt;0.600&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #363636 silver silver #363636; background-color: white;" width="137"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 19:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288839#M846902</guid>
      <dc:creator>marunio007</dc:creator>
      <dc:date>2017-03-27T19:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram with value intervals as dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288840#M846904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(Aggr(FirstSortedValue(Round(KFRE,0.025), -VisitDate), Patient), '#.000')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(DISTINCT Patient)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/157808_Capture.PNG" style="height: 116px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 02:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288840#M846904</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-28T02:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram with value intervals as dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288841#M846906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny.&lt;/P&gt;&lt;P&gt;This works, but it appears that Patient is now the dimension in the chart, not KFRE&lt;/P&gt;&lt;P&gt;When I make a selection in the chart I am selecting patients.&lt;/P&gt;&lt;P&gt;Is there a way to change this, so making a selection in the chart selects KFRE values?&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 13:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288841#M846906</guid>
      <dc:creator>marunio007</dc:creator>
      <dc:date>2017-03-28T13:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram with value intervals as dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288842#M846907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This, unfortunately won't be possible I think.... But I may be wrong and someone else might be able to assist....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 13:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288842#M846907</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-28T13:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram with value intervals as dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288843#M846908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your help Sunny!&lt;/P&gt;&lt;P&gt;I'll keep on pounding at this for some time...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 13:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288843#M846908</guid>
      <dc:creator>marunio007</dc:creator>
      <dc:date>2017-03-28T13:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram with value intervals as dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288844#M846909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure....One way I can think is to add triggers, but it can become a little messy...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 13:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288844#M846909</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-28T13:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram with value intervals as dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288845#M846910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found a solution in this thread:&lt;A href="https://community.qlik.com/thread/79211"&gt;Help with Set Analysis - MAX&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The needed expression does not use set analysis:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;VisitDate&lt;/SPAN&gt;=&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Nodistinct&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Max&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;VisitDate&lt;/SPAN&gt;),&lt;SPAN style="color: #800000;"&gt;Patient&lt;/SPAN&gt;),&lt;SPAN style="color: #800000;"&gt;Patient&lt;/SPAN&gt;))&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/158372_pastedImage_6.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 18:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288845#M846910</guid>
      <dc:creator>marunio007</dc:creator>
      <dc:date>2017-03-30T18:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram with value intervals as dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288846#M846911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing.... I am sure others will benefit from this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 01:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-with-value-intervals-as-dimension/m-p/1288846#M846911</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-31T01:02:20Z</dc:date>
    </item>
  </channel>
</rss>

