<?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: Using Aggr with a Pivot Table to populate a row of cells with the MAX Row Value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-Aggr-with-a-Pivot-Table-to-populate-a-row-of-cells-with/m-p/1607745#M45091</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You have to do it at the script level. Please check if the script in the application make sense.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Uday&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2019 20:56:24 GMT</pubDate>
    <dc:creator>udayreddy06</dc:creator>
    <dc:date>2019-07-30T20:56:24Z</dc:date>
    <item>
      <title>Using Aggr with a Pivot Table to populate a row of cells with the MAX Row Value</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Aggr-with-a-Pivot-Table-to-populate-a-row-of-cells-with/m-p/1607324#M45053</link>
      <description>&lt;P&gt;Using a filtered set of values from the app....&lt;/P&gt;&lt;P&gt;I have a Pivot Table of values that appears as below when I set MEASURES to SUM(Case_CNT).&lt;/P&gt;&lt;P&gt;The Dimensions are STANDARD_EVENT and OPEN_DATE&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Standard_Event&lt;/TD&gt;&lt;TD&gt;7/14/19&lt;/TD&gt;&lt;TD&gt;7/13/19&lt;/TD&gt;&lt;TD&gt;7/12/19&lt;/TD&gt;&lt;TD&gt;7/11/19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;%Job completed abnormally%&lt;/TD&gt;&lt;TD&gt;154&lt;/TD&gt;&lt;TD&gt;138&lt;/TD&gt;&lt;TD&gt;149&lt;/TD&gt;&lt;TD&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;%Service%is not started. Current state is stopped%&lt;/TD&gt;&lt;TD&gt;42&lt;/TD&gt;&lt;TD&gt;58&lt;/TD&gt;&lt;TD&gt;135&lt;/TD&gt;&lt;TD&gt;49&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I want i to populate each cell within a row of the Pivot Table with the MAX value for the row.&amp;nbsp; I want it to look like this.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Standard_Event&lt;/TD&gt;&lt;TD&gt;7/14/19&lt;/TD&gt;&lt;TD&gt;7/13/19&lt;/TD&gt;&lt;TD&gt;7/12/19&lt;/TD&gt;&lt;TD&gt;7/11/19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;%Job completed abnormally%&lt;/TD&gt;&lt;TD&gt;154&lt;/TD&gt;&lt;TD&gt;154&lt;/TD&gt;&lt;TD&gt;154&lt;/TD&gt;&lt;TD&gt;154&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;%Service%is not started. Current state is stopped%&lt;/TD&gt;&lt;TD&gt;135&lt;/TD&gt;&lt;TD&gt;135&lt;/TD&gt;&lt;TD&gt;135&lt;/TD&gt;&lt;TD&gt;135&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the following expression....&lt;/P&gt;&lt;P&gt;&amp;nbsp;=MAX(Aggr(MAX(Aggr(SUM(Case_CNT),Open_Date,Standard_Event)),Standard_Event))&lt;/P&gt;&lt;P&gt;I get the table below.&amp;nbsp; Any ideas as to why the Pivot Table appears the way it does?&lt;/P&gt;&lt;P&gt;Any ideas as to how I get this to appear the way I need it?&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Standard_Event&lt;/TD&gt;&lt;TD&gt;7/14/19&lt;/TD&gt;&lt;TD&gt;7/13/19&lt;/TD&gt;&lt;TD&gt;7/12/19&lt;/TD&gt;&lt;TD&gt;7/11/19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;%Job completed abnormally%&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;154&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;%Service%is not started. Current state is stopped%&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;135&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Aggr-with-a-Pivot-Table-to-populate-a-row-of-cells-with/m-p/1607324#M45053</guid>
      <dc:creator>stevenoga1</dc:creator>
      <dc:date>2024-11-16T05:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using Aggr with a Pivot Table to populate a row of cells with the MAX Row Value</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Aggr-with-a-Pivot-Table-to-populate-a-row-of-cells-with/m-p/1607745#M45091</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You have to do it at the script level. Please check if the script in the application make sense.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Uday&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 20:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Aggr-with-a-Pivot-Table-to-populate-a-row-of-cells-with/m-p/1607745#M45091</guid>
      <dc:creator>udayreddy06</dc:creator>
      <dc:date>2019-07-30T20:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using Aggr with a Pivot Table to populate a row of cells with the MAX Row Value</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Aggr-with-a-Pivot-Table-to-populate-a-row-of-cells-with/m-p/1607770#M45096</link>
      <description>&lt;P&gt;Uday...&lt;/P&gt;&lt;P&gt;The Dates and Events represented in the table are changeable dynamically in the app so I do not believe the scripting approach will work.&amp;nbsp; &amp;nbsp;I appreciate the suggestion though.&lt;/P&gt;&lt;P&gt;This issue as presented in my question is a simplification of the true issue I am working.&amp;nbsp; I&amp;nbsp; need to calculate a value based upon the ROW content.&amp;nbsp; Specifically an Upper Control Limit (Mean+2*STDEV).&amp;nbsp; &amp;nbsp;I will be comparing this value against each cell in the Row.&amp;nbsp; Cells which exceed this limit are to be turned Red.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason the AGGR function I have created is unable to apply the ROW Values it produces in a consistent fashion across all the Cells in each Row.&amp;nbsp; Engaging in the simplified example highlighted this as the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a QVF file that has both the simplified example as well as my real issue.&amp;nbsp; &amp;nbsp;Any additional thoughts on your part would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 22:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Aggr-with-a-Pivot-Table-to-populate-a-row-of-cells-with/m-p/1607770#M45096</guid>
      <dc:creator>stevenoga1</dc:creator>
      <dc:date>2019-07-30T22:52:01Z</dc:date>
    </item>
  </channel>
</rss>

