<?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: How to use data handling - Calculation condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-use-data-handling-Calculation-condition/m-p/1967994#M79798</link>
    <description>&lt;P&gt;When a chart has multiple measures, whole row cannot be eliminated when one of the measure has value greater than 0. I would check in each measure like&lt;/P&gt;
&lt;P&gt;if(Current measure exp - Prior measure expression &amp;gt;0, Current measure exp, 0)&lt;/P&gt;
&lt;P&gt;same with prior measure as well. And then use chart property to exclude zero values.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2022 01:15:37 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2022-08-12T01:15:37Z</dc:date>
    <item>
      <title>How to use data handling - Calculation condition</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-data-handling-Calculation-condition/m-p/1967976#M79793</link>
      <description>&lt;P&gt;I have a pivot table on Qlik sense that have three columns, Current, Prior and Variation.&lt;/P&gt;
&lt;P&gt;Current is a measure with a set analysis with many conditions that show amount related to sell done today and&lt;/P&gt;
&lt;P&gt;Prior is also a measure with a set analysis with many conditions that show amount related to sell done yesterday.&lt;/P&gt;
&lt;P&gt;Variation is just measure Current – measure Prior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to be able to filter the pivot table by Variation to show only rows where variation is greater than zero or is not null, something similar as we can do on Power BI.&lt;/P&gt;
&lt;P&gt;thank for your help&lt;/P&gt;
&lt;P&gt;Table below&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="image.png" style="width: 948px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/86594i00E6C5FAE790B0DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 22:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-data-handling-Calculation-condition/m-p/1967976#M79793</guid>
      <dc:creator>Luis_Saavedra</dc:creator>
      <dc:date>2022-08-11T22:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use data handling - Calculation condition</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-data-handling-Calculation-condition/m-p/1967994#M79798</link>
      <description>&lt;P&gt;When a chart has multiple measures, whole row cannot be eliminated when one of the measure has value greater than 0. I would check in each measure like&lt;/P&gt;
&lt;P&gt;if(Current measure exp - Prior measure expression &amp;gt;0, Current measure exp, 0)&lt;/P&gt;
&lt;P&gt;same with prior measure as well. And then use chart property to exclude zero values.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 01:15:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-data-handling-Calculation-condition/m-p/1967994#M79798</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2022-08-12T01:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use data handling - Calculation condition</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-data-handling-Calculation-condition/m-p/1968363#M79857</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;ti seems this is a weak on the way qlik sense works vs Power BI &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried the way you mentioned bot it does not work for me do it in that way but thanks a lot for making time to reply mi inquiery.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 16:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-data-handling-Calculation-condition/m-p/1968363#M79857</guid>
      <dc:creator>Luis_Saavedra</dc:creator>
      <dc:date>2022-08-12T16:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use data handling - Calculation condition</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-data-handling-Calculation-condition/m-p/1968732#M79900</link>
      <description>&lt;P&gt;You may need to extend the suggestion from&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48860"&gt;@Digvijay_Singh&lt;/a&gt;&amp;nbsp;for a NULL handling because if any of the&amp;nbsp;operands has not a valid numeric value the whole part becomes NULL. This might be queried with isnull() within if-loops or directly fetched with alt() or coalesce() and/or bypassed with a range-function. Therefore you may try something like this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if(rangesum(Current measure exp, &lt;STRONG&gt;-&lt;/STRONG&gt;Prior measure expression) &amp;gt;0, Current measure exp, 0)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Depending on the scenario you may also replace the zero from the else-branch with an explicit null() which won't be displayed with the defaults.&lt;/P&gt;
&lt;P&gt;An alternatively way to the filter within the expression might be to create a calculated dimension with it within a list-box or also as chart-dimension, like:&lt;/P&gt;
&lt;P&gt;aggr(if(condition, expr), Dim1, Dim2)&lt;/P&gt;
&lt;P&gt;respectively to bypass the condition-stuff by clustering the results, with:&lt;/P&gt;
&lt;P&gt;class(aggr(expr, Dim1, Dim2), $(vClusterSize))&lt;/P&gt;
&lt;P&gt;For rather fixed reporting-purposes might the last suggestion not very suitable but for the sake of analysing the data it's much more powerful.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 12:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-data-handling-Calculation-condition/m-p/1968732#M79900</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-08-15T12:53:55Z</dc:date>
    </item>
  </channel>
</rss>

