<?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: Detail report in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Detail-report/m-p/1145480#M915528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try the following expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amount:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(vMin='--Select--' and vMax='--Select--', Sum(Amount),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Sum(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt; &amp;lt;Cat&amp;gt; &lt;/SPAN&gt;Amount)&amp;gt;=vMin and vMax='--Select--', Sum(Amount),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Sum(Amount)&amp;gt;=vMin and Sum(Amount)&amp;lt;=vMax, Sum(Amount))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%Age:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(vMin='--Select--' and vMax='--Select--', Sum(Amount)/sum(TOTAL Amount),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Sum(&lt;SPAN style="color: #ff0000;"&gt;TOTA&lt;/SPAN&gt;L &lt;SPAN style="color: #ff0000;"&gt;&amp;lt;Cat&amp;gt;&lt;/SPAN&gt; Amount)&amp;gt;=vMin and vMax='--Select--', Sum(Amount)/sum(TOTAL Amount),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Sum(Amount)&amp;gt;=vMin and Sum(Amount)&amp;lt;=vMax, Sum(Amount)/sum(TOTAL Amount))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="124635" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124635_Capture.PNG" style="height: 196px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 May 2016 04:14:04 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-15T04:14:04Z</dc:date>
    <item>
      <title>Detail report</title>
      <link>https://community.qlik.com/t5/QlikView/Detail-report/m-p/1145476#M915524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing one issue.&lt;/P&gt;&lt;P&gt;I have 2 charts..&lt;/P&gt;&lt;P&gt;one is aggregated data based on Category.&lt;/P&gt;&lt;P&gt;and based on start and end selection, populating report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second one is detailed report, category and subcat and so on..&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;1st report..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" height="115" src="https://community.qlik.com/legacyfs/online/124596_Capture.JPG" style="height: 114.96px; width: 296px;" width="296" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My detail report also should be same amount based these particular Categories..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/124597_Capture.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;in 1st report BCA=10590.&lt;/P&gt;&lt;P&gt;In summarized report only one record 10,000.. it should be 2 records&lt;/P&gt;&lt;P&gt;one for 10,000 and another 590.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA,&lt;/P&gt;&lt;P&gt;Thanks in Advance &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/Detail-report/m-p/1145476#M915524</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Detail report</title>
      <link>https://community.qlik.com/t5/QlikView/Detail-report/m-p/1145477#M915525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you clear the Range, that will show both values.&lt;/P&gt;&lt;P&gt;I believe this id down to the way your variable works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2016 04:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Detail-report/m-p/1145477#M915525</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2016-05-14T04:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Detail report</title>
      <link>https://community.qlik.com/t5/QlikView/Detail-report/m-p/1145478#M915526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i am clear ranges working fine for me.&lt;/P&gt;&lt;P&gt;But users want to export summarized report, based on selection ranges.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2016 17:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Detail-report/m-p/1145478#M915526</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2016-05-14T17:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Detail report</title>
      <link>https://community.qlik.com/t5/QlikView/Detail-report/m-p/1145479#M915527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my suggestion, process the Category in your scripting instead of your dimension:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="foto.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124623_foto.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;You will have to change the calculated dimension for Cat fiel in your Amount table. Now, in your detail report you could add an expression like the following one to show only those categories that meet your filter criteria:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(vMin='--Select--' and vMax='--Select--',Cat,&lt;/P&gt;&lt;P&gt;IF(Aggr(Sum(Amount), Cat) &amp;gt;=vMin and vMax='--Select--', Cat,&lt;/P&gt;&lt;P&gt;if(Aggr(Sum(Amount), Cat) &amp;gt;= vMin and Aggr(Sum(Amount), Cat) &amp;lt;=vMax,Cat)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And check the suppress when value is null option to display only the records with a value&lt;/P&gt;&lt;P&gt;&lt;IMG alt="foto.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/124624_foto.png" style="height: 362px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in your expressions, just add:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this you will get the following output:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="foto.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/124631_foto.png" style="height: 260px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Karla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2016 21:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Detail-report/m-p/1145479#M915527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-14T21:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Detail report</title>
      <link>https://community.qlik.com/t5/QlikView/Detail-report/m-p/1145480#M915528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try the following expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amount:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(vMin='--Select--' and vMax='--Select--', Sum(Amount),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Sum(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt; &amp;lt;Cat&amp;gt; &lt;/SPAN&gt;Amount)&amp;gt;=vMin and vMax='--Select--', Sum(Amount),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Sum(Amount)&amp;gt;=vMin and Sum(Amount)&amp;lt;=vMax, Sum(Amount))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%Age:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(vMin='--Select--' and vMax='--Select--', Sum(Amount)/sum(TOTAL Amount),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Sum(&lt;SPAN style="color: #ff0000;"&gt;TOTA&lt;/SPAN&gt;L &lt;SPAN style="color: #ff0000;"&gt;&amp;lt;Cat&amp;gt;&lt;/SPAN&gt; Amount)&amp;gt;=vMin and vMax='--Select--', Sum(Amount)/sum(TOTAL Amount),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(Sum(Amount)&amp;gt;=vMin and Sum(Amount)&amp;lt;=vMax, Sum(Amount)/sum(TOTAL Amount))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="124635" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124635_Capture.PNG" style="height: 196px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 04:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Detail-report/m-p/1145480#M915528</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-15T04:14:04Z</dc:date>
    </item>
  </channel>
</rss>

