<?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 Conditional Dimension to hide rows below a threshold in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Dimension-to-hide-rows-below-a-threshold/m-p/1581557#M507987</link>
    <description>&lt;P&gt;I have been racking my brain and the scouring the forums to help solve my issue...but i have not yet figured this out.&lt;/P&gt;&lt;P&gt;I have created a pivot table consisting of a few expressions calculating an average value of the most recent data response of a user parameter(ID). The average takes into account minimum criteria that a user can change on the fly to eliminate data points that are below certain thresholds.&amp;nbsp; My expression looks like:&lt;/P&gt;&lt;P&gt;Column 1: avg({&amp;lt;A= {"&amp;gt;=$(vminA)"}, B= {"&amp;gt;=$(vminB)"},C= {"&amp;gt;=$(vminC"} &amp;gt;} aggr(FirstSortedValue(CAT_Comppct,-Date),ID))&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column 2: avg({&amp;lt;A= {"&amp;gt;=$(vminA)"}, B= {"&amp;gt;=$(vminB)"},C= {"&amp;gt;=$(vminC"} &amp;gt;} aggr(FirstSortedValue(CAB_Comppct,-Date),ID))&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column 3:&amp;nbsp; avg({&amp;lt;A= {"&amp;gt;=$(vminA)"}, B= {"&amp;gt;=$(vminB)"},C= {"&amp;gt;=$(vminC"} &amp;gt;} aggr(FirstSortedValue(CAP_Comppct,-Date),ID))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This part is working well and all the columns calculate what i want based on the user input boxes.&lt;/P&gt;&lt;P&gt;Now i am trying to create a summary table (on another tab) that will only show rows of data where any of columns of the pivot table are less than another user entered variable, vminAVG.&lt;/P&gt;&lt;P&gt;I have tried using the above expression as a conditional dimension, which i wrapped in an AGGR(x, ID) function sorted (again) by ID, but the results do not match what i am expecting and seem to update when i change the vminAVG value.&lt;/P&gt;&lt;P&gt;Conditional Dimension (suppressing Null):&lt;/P&gt;&lt;P&gt;=aggr(IF(avg({&amp;lt;A= {"&amp;gt;=$(vminA)"}, B= {"&amp;gt;=$(vminB)"},C= {"&amp;gt;=$(vminC"} &amp;gt;} aggr(FirstSortedValue(CAT_Comppct,-Date),ID)) &amp;gt;vminAVG,"",1),ID)&lt;/P&gt;&lt;P&gt;I have also tried putting the aggr() inside the IF()...no luck&lt;/P&gt;&lt;P&gt;So far, i have only been trying to get the summary table to work using the conditional on just one column because i figured that if i could figure out how one works, i can get the other to follow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:32:36 GMT</pubDate>
    <dc:creator>brandonD14</dc:creator>
    <dc:date>2024-11-16T03:32:36Z</dc:date>
    <item>
      <title>Conditional Dimension to hide rows below a threshold</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Dimension-to-hide-rows-below-a-threshold/m-p/1581557#M507987</link>
      <description>&lt;P&gt;I have been racking my brain and the scouring the forums to help solve my issue...but i have not yet figured this out.&lt;/P&gt;&lt;P&gt;I have created a pivot table consisting of a few expressions calculating an average value of the most recent data response of a user parameter(ID). The average takes into account minimum criteria that a user can change on the fly to eliminate data points that are below certain thresholds.&amp;nbsp; My expression looks like:&lt;/P&gt;&lt;P&gt;Column 1: avg({&amp;lt;A= {"&amp;gt;=$(vminA)"}, B= {"&amp;gt;=$(vminB)"},C= {"&amp;gt;=$(vminC"} &amp;gt;} aggr(FirstSortedValue(CAT_Comppct,-Date),ID))&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column 2: avg({&amp;lt;A= {"&amp;gt;=$(vminA)"}, B= {"&amp;gt;=$(vminB)"},C= {"&amp;gt;=$(vminC"} &amp;gt;} aggr(FirstSortedValue(CAB_Comppct,-Date),ID))&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column 3:&amp;nbsp; avg({&amp;lt;A= {"&amp;gt;=$(vminA)"}, B= {"&amp;gt;=$(vminB)"},C= {"&amp;gt;=$(vminC"} &amp;gt;} aggr(FirstSortedValue(CAP_Comppct,-Date),ID))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This part is working well and all the columns calculate what i want based on the user input boxes.&lt;/P&gt;&lt;P&gt;Now i am trying to create a summary table (on another tab) that will only show rows of data where any of columns of the pivot table are less than another user entered variable, vminAVG.&lt;/P&gt;&lt;P&gt;I have tried using the above expression as a conditional dimension, which i wrapped in an AGGR(x, ID) function sorted (again) by ID, but the results do not match what i am expecting and seem to update when i change the vminAVG value.&lt;/P&gt;&lt;P&gt;Conditional Dimension (suppressing Null):&lt;/P&gt;&lt;P&gt;=aggr(IF(avg({&amp;lt;A= {"&amp;gt;=$(vminA)"}, B= {"&amp;gt;=$(vminB)"},C= {"&amp;gt;=$(vminC"} &amp;gt;} aggr(FirstSortedValue(CAT_Comppct,-Date),ID)) &amp;gt;vminAVG,"",1),ID)&lt;/P&gt;&lt;P&gt;I have also tried putting the aggr() inside the IF()...no luck&lt;/P&gt;&lt;P&gt;So far, i have only been trying to get the summary table to work using the conditional on just one column because i figured that if i could figure out how one works, i can get the other to follow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Dimension-to-hide-rows-below-a-threshold/m-p/1581557#M507987</guid>
      <dc:creator>brandonD14</dc:creator>
      <dc:date>2024-11-16T03:32:36Z</dc:date>
    </item>
  </channel>
</rss>

