<?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 Formula is not displayed correctly in the table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798284#M64601</link>
    <description>&lt;P&gt;Hello Together,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Formula shows OK but in the Table it shows the Prices which are equal too.&amp;nbsp;&lt;BR /&gt;I excluded the 0 values as well but they are in the table as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Count (distinct(If([Price-2]&amp;gt;[Price-1],MaterialNumber)))&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;P&gt;Kind Regards,&amp;nbsp;&lt;BR /&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Fri, 09 Apr 2021 10:41:04 GMT</pubDate>
    <dc:creator>Daniel1908</dc:creator>
    <dc:date>2021-04-09T10:41:04Z</dc:date>
    <item>
      <title>Formula is not displayed correctly in the table</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798284#M64601</link>
      <description>&lt;P&gt;Hello Together,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Formula shows OK but in the Table it shows the Prices which are equal too.&amp;nbsp;&lt;BR /&gt;I excluded the 0 values as well but they are in the table as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Count (distinct(If([Price-2]&amp;gt;[Price-1],MaterialNumber)))&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;P&gt;Kind Regards,&amp;nbsp;&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 10:41:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798284#M64601</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-04-09T10:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Formula is not displayed correctly in the table</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798333#M64610</link>
      <description>&lt;P&gt;You couldn't compare field-values in this way because the visible values mustn't be exactly the same as the stored values and also Qlik used a binary number-system and not a decimal-system which hasn't for all values an exact number.&lt;/P&gt;&lt;P&gt;This means you need to apply an appropriate rounding-function or changing the&amp;nbsp;comparison-method, for example with:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(round([Price-2], 0.01)&amp;gt;round([Price-1], 0.01), Count (distinct MaterialNumber))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or maybe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If([Price-2] - [Price-1] &amp;gt; 0, Count (distinct MaterialNumber))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 13:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798333#M64610</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-04-09T13:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Formula is not displayed correctly in the table</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798342#M64614</link>
      <description>&lt;P&gt;Hi Marcus,&amp;nbsp;&lt;/P&gt;&lt;P&gt;unfortunately this did not work, do you have any further ideas?&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 13:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798342#M64614</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-04-09T13:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Formula is not displayed correctly in the table</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798406#M64621</link>
      <description>&lt;P&gt;In this case there might be an issue with your datamodel and/or your data are different to your expectation. I suggest to create a tablebox or maybe a straight-table (has the benefit that you could add further expressions like isnum(Field) or len(Field) or similar checks) and adding there all relevant fields - from this expression and from the used dimension of your chart and those which may be use for selections.&lt;/P&gt;&lt;P&gt;Also useful is often to add an unique key to this table - if none exists you may create one with recno() or rowno() within the script - because each Qlik object will only show the distinct combination of fieldvalues and without such key you want be able to detect any duplicates.&lt;/P&gt;&lt;P&gt;And then you could check your data.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 16:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798406#M64621</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-04-09T16:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Formula is not displayed correctly in the table</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798792#M64677</link>
      <description>&lt;P&gt;Hi Marcus,&amp;nbsp;&lt;/P&gt;&lt;P&gt;now it worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(round([Price-2], 0.01)&amp;gt;round([Price-1], 0.01), Count (distinct MaterialNumber))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have an Idea how to exclude if Price-1 = 00,0 or exclude if status Request = "X"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Additionally to exclude the differnce of the prices at the decimal places.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind Regards&lt;BR /&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 13:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798792#M64677</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-04-12T13:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Formula is not displayed correctly in the table</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798816#M64683</link>
      <description>&lt;P&gt;Hi I recognized as well that the total value does not appear in the table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the formula works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&amp;nbsp;&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 14:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798816#M64683</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-04-12T14:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Formula is not displayed correctly in the table</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798847#M64699</link>
      <description>&lt;P&gt;Probably you could add the further conditions in a way like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(round([Price-2], 0.01)&amp;gt;round([Price-1], 0.01) and&lt;BR /&gt;&amp;nbsp; &amp;nbsp; sign(round([Price-1])) and&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Request &amp;lt;&amp;gt; 'X' ,&lt;BR /&gt;Count (distinct MaterialNumber))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 15:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798847#M64699</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-04-12T15:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formula is not displayed correctly in the table</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798849#M64700</link>
      <description>&lt;P&gt;It's quite normal that it couldn't work within the TOTAL because there didn't exists an appropriate dimensional context for the calculation - in your case quite probably that there are multiple price-values available which results in NULL by accessing them without an aggregation.&lt;/P&gt;&lt;P&gt;This means you need to wrap your expression with an aggr() like:&lt;/P&gt;&lt;P&gt;sum(aggr(YourExpression, Dim1, Dim2))&lt;/P&gt;&lt;P&gt;whereby Dim1 and Dim2 are placeholder for the dimensional context - usually it are the dimensions of your chart and sometimes also from a certain selection.&lt;/P&gt;&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 15:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-is-not-displayed-correctly-in-the-table/m-p/1798849#M64700</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-04-12T15:46:24Z</dc:date>
    </item>
  </channel>
</rss>

