<?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: Can we Compare row level subtotals in pivot table qlikview in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Can-we-Compare-row-level-subtotals-in-pivot-table-qlikview/m-p/2093196#M89594</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="geethag_0-1689175891452.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/112122i8F4E7ADBA34EA03A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="geethag_0-1689175891452.png" alt="geethag_0-1689175891452.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Have attached the image&amp;nbsp; how the table looks like. I have tried with the text expression for the Dimension and Expression. But it is not working as expected.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2023 15:32:48 GMT</pubDate>
    <dc:creator>gq</dc:creator>
    <dc:date>2023-07-12T15:32:48Z</dc:date>
    <item>
      <title>Can we Compare row level subtotals in pivot table qlikview</title>
      <link>https://community.qlik.com/t5/App-Development/Can-we-Compare-row-level-subtotals-in-pivot-table-qlikview/m-p/2092601#M89556</link>
      <description>&lt;P&gt;I have a requirement to show subtotals for horizontal dimension plan v Actual against column dimensions Year and Month.&lt;/P&gt;
&lt;P&gt;Wanted to compare Plan v Actual subtotals for previous month, if variance is greater or less than 0 i need to color the text for that month.&lt;/P&gt;
&lt;P&gt;Any help is appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 13:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Can-we-Compare-row-level-subtotals-in-pivot-table-qlikview/m-p/2092601#M89556</guid>
      <dc:creator>gq</dc:creator>
      <dc:date>2023-07-11T13:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can we Compare row level subtotals in pivot table qlikview</title>
      <link>https://community.qlik.com/t5/App-Development/Can-we-Compare-row-level-subtotals-in-pivot-table-qlikview/m-p/2093189#M89591</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;I'm pretty sure it's possible to do in QlikView, but it's hard for me to prescribe anything specific without seeing your table and understanding your requirement with more detail.&lt;/P&gt;
&lt;P&gt;In a nutshell, you should be working with the "Text Color" attribute of the corresponding Expression (or Dimension?), and you could use the function Dimensionality() to apply the calculation only at the appropriate subtotal level.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 15:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Can-we-Compare-row-level-subtotals-in-pivot-table-qlikview/m-p/2093189#M89591</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2023-07-12T15:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can we Compare row level subtotals in pivot table qlikview</title>
      <link>https://community.qlik.com/t5/App-Development/Can-we-Compare-row-level-subtotals-in-pivot-table-qlikview/m-p/2093196#M89594</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="geethag_0-1689175891452.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/112122i8F4E7ADBA34EA03A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="geethag_0-1689175891452.png" alt="geethag_0-1689175891452.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Have attached the image&amp;nbsp; how the table looks like. I have tried with the text expression for the Dimension and Expression. But it is not working as expected.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 15:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Can-we-Compare-row-level-subtotals-in-pivot-table-qlikview/m-p/2093196#M89594</guid>
      <dc:creator>gq</dc:creator>
      <dc:date>2023-07-12T15:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can we Compare row level subtotals in pivot table qlikview</title>
      <link>https://community.qlik.com/t5/App-Development/Can-we-Compare-row-level-subtotals-in-pivot-table-qlikview/m-p/2093463#M89625</link>
      <description>&lt;P&gt;Take a look on the interrecord-functions above/below/before/after with which each cell of the pivot is accessible from another one. If not a single value should be returned else an array you will need to wrap them within a range-function. If several dimensions are included it could become more complex and you will need TOTAL statements in the functions and maybe a further wrapping with aggr() constructs.&lt;/P&gt;
&lt;P&gt;It's not trivial and interrecord-functions and aggr() could decrease the performance by larger data-sets. Therefore I suggest to consider to simplify the object, for example separating the number- and rate-calculation into different views/objects and/or using YYYYMM as dimension instead of applying year and month.&lt;/P&gt;
&lt;P&gt;An alternatively would be to remove the horizontal period-dimensions and using n expressions by defining the periods within a set analysis, like:&lt;/P&gt;
&lt;P&gt;sum({&amp;lt; RunningPeriod = {"$(=max(RunningPeriod)"}&amp;gt;} Value) -&lt;BR /&gt;sum({&amp;lt; RunningPeriod = {"$(=max(RunningPeriod)&lt;STRONG&gt;-1&lt;/STRONG&gt;"}&amp;gt;} Value)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 10:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Can-we-Compare-row-level-subtotals-in-pivot-table-qlikview/m-p/2093463#M89625</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-07-13T10:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we Compare row level subtotals in pivot table qlikview</title>
      <link>https://community.qlik.com/t5/App-Development/Can-we-Compare-row-level-subtotals-in-pivot-table-qlikview/m-p/2093667#M89639</link>
      <description>&lt;P&gt;Thank you for your response Marcus!&lt;/P&gt;
&lt;P&gt;I have tried Rangesum with before function to compare subtotals for Type 1 and Type 2 in the text expression of Expression and in the dimension 'A' as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Its not working as expected, i have also tested just Rangesum expression separately in the pivot table, it works fine&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;IF(&lt;/P&gt;
&lt;P&gt;Rangesum(Count({&amp;lt;A = {'Type1'}&amp;gt;}DISTINCT ID), Before(TOTAL Count(DISTINCT ID), 1, ColumnNo(TOTAL)))&lt;BR /&gt;=&lt;/P&gt;
&lt;P&gt;Rangesum(Count({&amp;lt;A = {'Type2'}&amp;gt;}DISTINCT ID), Before(TOTAL Count(DISTINCT ID), 1, ColumnNo(TOTAL)))&lt;BR /&gt;, Blue(), Green())&lt;/P&gt;
&lt;P&gt;Rangesum(Count({&amp;lt;A = {'Type1'}&amp;gt;}DISTINCT ID), Before(TOTAL Count(DISTINCT ID), 1, ColumnNo(TOTAL)))&lt;BR /&gt;evaluates to 10&lt;BR /&gt;Rangesum(Count({&amp;lt;A = {'Type1'}&amp;gt;}DISTINCT ID), Before(TOTAL Count(DISTINCT ID), 1, ColumnNo(TOTAL)))&lt;BR /&gt;evaluates to 10&lt;BR /&gt;So i was expecting Blue&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="geethag_1-1689273879148.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/112216i8496AD04ED7C5CEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="geethag_1-1689273879148.png" alt="geethag_1-1689273879148.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 18:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Can-we-Compare-row-level-subtotals-in-pivot-table-qlikview/m-p/2093667#M89639</guid>
      <dc:creator>gq</dc:creator>
      <dc:date>2023-07-13T18:44:47Z</dc:date>
    </item>
  </channel>
</rss>

