<?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: display values with a specific condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1936647#M77201</link>
    <description>&lt;P&gt;Ok, you have two options here.&lt;/P&gt;
&lt;P&gt;1. Calculate this in the loadscript (allways better)&lt;/P&gt;
&lt;P&gt;2. Use the calculation as calculated dimension and for the measure (you'll need it anyway) you fill in =1 and then for conditional show you fill in 0. See example (is Dutch)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eddie_wagt_0-1653665905635.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80497iAE0613DD7A282899/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eddie_wagt_0-1653665905635.png" alt="eddie_wagt_0-1653665905635.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 May 2022 15:38:42 GMT</pubDate>
    <dc:creator>eddie_wagt</dc:creator>
    <dc:date>2022-05-27T15:38:42Z</dc:date>
    <item>
      <title>display values with a specific condition</title>
      <link>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1935905#M77120</link>
      <description>&lt;P&gt;Hello got the following sample data&lt;BR /&gt;Payment ID&amp;nbsp; &amp;nbsp; Payment Source&amp;nbsp; &amp;nbsp; Payment Amount&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Source 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;500&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Source 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;400&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Source 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;900&lt;BR /&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Source 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&lt;BR /&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Source 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50&lt;BR /&gt;&lt;BR /&gt;I want to calculate the variance of each Payment ID between Source 1 and Source 2&lt;BR /&gt;Variance is:&lt;BR /&gt;Sum({&amp;lt; [Payment Source] = {"Source 1"}&amp;gt;} Payment Amount) -&amp;nbsp;Sum({&amp;lt; [Payment Source] = {"Source 2"}&amp;gt;} Payment Amount)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Now what I want to display on a Table Chart the payments that got a variance = 0&lt;BR /&gt;so in this table I want to display only Payment ID 1&lt;BR /&gt;&lt;BR /&gt;kindly advise on how to accomplish this&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 08:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1935905#M77120</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2022-05-26T08:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: display values with a specific condition</title>
      <link>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1935965#M77126</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use something similar to this expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Aggr&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;({&amp;lt;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;[Payment Source]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;={&lt;/STRONG&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;"Source 1"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;}&amp;gt;}&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;[Payment Amount]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;),&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt; [Payment Source]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;, &lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;[Payment ID]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dataset looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/c014f3fa-45d3-4579-87ad-128da8cc9fd8.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you can create a &lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Table chart&lt;/STRONG&gt;&lt;/SPAN&gt; with &lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;[Payment ID]&lt;/STRONG&gt;&lt;/SPAN&gt; dimension and the expression above as measure, which will give you an output:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/12012bab-d5c0-49a6-843a-6a32f9213c09.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see the &lt;STRONG&gt;ID 1 is 0&lt;/STRONG&gt; and &lt;STRONG&gt;ID 2 is 50&lt;/STRONG&gt;. So you can go a step further, by adding the expression in an &lt;SPAN style="background-color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;() &lt;/STRONG&gt;statement to display the value of ID if it is 0 or Null() and it will remove all the rows that are not 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color:hsl(0, 0%, 60%);"&gt;&lt;I&gt;&lt;STRONG&gt;I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate in details by providing additional information. However, if it has helped you resolve the issue, addressed your concerns or at least pointed you in the right direction, please mark it as Accepted Solution to give further visibility to other community members.&amp;nbsp;&lt;/STRONG&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 10:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1935965#M77126</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2022-05-26T10:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: display values with a specific condition</title>
      <link>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1936415#M77167</link>
      <description>&lt;P&gt;If I understood your requirement correctly, you want to show payments where the balance is null. You can use your expression as a measure, but you will need a calculated dimension to show only the payments with balance is null.&lt;/P&gt;
&lt;P&gt;You can use this as a calculated dimension (use the expression editor for this field)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=Aggr(If(Sum({&amp;lt; [Payment Source] = {"Source 1"}&amp;gt;} [Payment Amount]) - Sum({&amp;lt; [Payment Source] = {"Source 2"}&amp;gt;} [Payment Amount]) =0,[Payment ID]),[Payment ID])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now you only have to untick the box 'Null-values'&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eddie_wagt_0-1653643533300.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80451i064958FA6DC45524/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eddie_wagt_0-1653643533300.png" alt="eddie_wagt_0-1653643533300.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;Eddie&lt;/P&gt;
&lt;TABLE style="border-style: solid; width: 100%; border-color: #006B30;" border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%" style="background-color: #009845; width: 100%; border-style: solid;"&gt;&lt;FONT color="#FFFFFF"&gt;If this answers your question or solves your issue, be sure to mark the answer as correct by clicking '&lt;STRONG&gt;&lt;SPAN class="notion-enable-hover" data-token-index="1" data-reactroot=""&gt;Accept as Solution&lt;/SPAN&gt;&lt;/STRONG&gt;'. This will mark the post as solved and other Qlikkies will gravitate towards this post as it as a possible solution for their issue.&amp;nbsp;Multiple responses can be accepted as a solution so make sure to select all that apply.&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Fri, 27 May 2022 09:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1936415#M77167</guid>
      <dc:creator>eddie_wagt</dc:creator>
      <dc:date>2022-05-27T09:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: display values with a specific condition</title>
      <link>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1936578#M77195</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I managed to do the following; the thing is I only want to display a dimension i.e. without a measure&lt;BR /&gt;aggr(only&lt;BR /&gt;(&lt;BR /&gt;{&lt;BR /&gt;&amp;lt;[Payment ID]={&lt;BR /&gt;"=sum(aggr(Sum({&amp;lt;[Payment Source] = {[Source1]}&amp;gt;}[Payment Amount]) - Sum({&amp;lt;[Payment Source] = {[Source2]}&amp;gt;}[Payment Amount]),[Payment ID])) = 0"}&lt;BR /&gt;&amp;gt;&lt;BR /&gt;}[Payment ID]),[Payment ID])&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 13:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1936578#M77195</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2022-05-27T13:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: display values with a specific condition</title>
      <link>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1936582#M77197</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I managed to do the following; the thing is I only want to display a dimension i.e. without a measure&lt;BR /&gt;aggr(only&lt;BR /&gt;(&lt;BR /&gt;{&lt;BR /&gt;&amp;lt;[Payment ID]={&lt;BR /&gt;"=sum(aggr(Sum({&amp;lt;[Payment Source] = {[Source1]}&amp;gt;}[Payment Amount]) - Sum({&amp;lt;[Payment Source] = {[Source2]}&amp;gt;}[Payment Amount]),[Payment ID])) = 0"}&lt;BR /&gt;&amp;gt;&lt;BR /&gt;}[Payment ID]),[Payment ID])&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 13:53:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1936582#M77197</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2022-05-27T13:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: display values with a specific condition</title>
      <link>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1936647#M77201</link>
      <description>&lt;P&gt;Ok, you have two options here.&lt;/P&gt;
&lt;P&gt;1. Calculate this in the loadscript (allways better)&lt;/P&gt;
&lt;P&gt;2. Use the calculation as calculated dimension and for the measure (you'll need it anyway) you fill in =1 and then for conditional show you fill in 0. See example (is Dutch)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eddie_wagt_0-1653665905635.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80497iAE0613DD7A282899/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eddie_wagt_0-1653665905635.png" alt="eddie_wagt_0-1653665905635.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 15:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/display-values-with-a-specific-condition/m-p/1936647#M77201</guid>
      <dc:creator>eddie_wagt</dc:creator>
      <dc:date>2022-05-27T15:38:42Z</dc:date>
    </item>
  </channel>
</rss>

