<?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: Formula does not work in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798776#M64673</link>
    <description>&lt;P&gt;Hi Daniel. Try this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;[&lt;/SPAN&gt;&lt;SPAN&gt;ReturnLabel&lt;/SPAN&gt;&lt;SPAN&gt;]={'A*'}&amp;gt;})&amp;nbsp; &amp;nbsp;if([Price-3]&amp;lt;&amp;gt;{[Price-1]+[Price-2], Material&amp;amp;Shorttext ) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I think this way it will work fine, but you won't get the best performance because if () evaluates each row in the table one by one.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Apr 2021 13:25:25 GMT</pubDate>
    <dc:creator>Fernando_Fabregas</dc:creator>
    <dc:date>2021-04-12T13:25:25Z</dc:date>
    <item>
      <title>Formula does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798274#M64597</link>
      <description>&lt;P&gt;Hello Together,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The below formula doese not work.&lt;BR /&gt;Can you help?&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;[Price-3]-={[Price-1]+[Price-2]},[&lt;SPAN&gt;ReturnLabel&lt;/SPAN&gt;]={'A*'}&amp;gt;})Material&amp;amp;Shorttext)&lt;/P&gt;&lt;P&gt;Count all Price-3 which do not match with the total of Price-1 + Price-2 and have Return Label beginning wich A*.&lt;/P&gt;&lt;P&gt;Kind Regards,&amp;nbsp;&lt;BR /&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 10:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798274#M64597</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-04-09T10:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formula does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798324#M64608</link>
      <description>&lt;P&gt;Hi Daniel.&lt;/P&gt;&lt;P&gt;For searches you must use double quotes:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;[&lt;/SPAN&gt;&lt;SPAN&gt;ReturnLabel&lt;/SPAN&gt;&lt;SPAN&gt;]={"A*"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Full explanation here:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-modifiers.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-modifiers.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards, Fernando&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 12:36:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798324#M64608</guid>
      <dc:creator>Fernando_Fabregas</dc:creator>
      <dc:date>2021-04-09T12:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Formula does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798337#M64612</link>
      <description>&lt;P&gt;Hi Fernando,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;BR /&gt;Unfortunately the formula does still not work.&lt;/P&gt;&lt;P&gt;Do you have any ideas?&lt;/P&gt;&lt;P&gt;Kind Regards&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 13:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798337#M64612</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-04-09T13:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Formula does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798776#M64673</link>
      <description>&lt;P&gt;Hi Daniel. Try this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;[&lt;/SPAN&gt;&lt;SPAN&gt;ReturnLabel&lt;/SPAN&gt;&lt;SPAN&gt;]={'A*'}&amp;gt;})&amp;nbsp; &amp;nbsp;if([Price-3]&amp;lt;&amp;gt;{[Price-1]+[Price-2], Material&amp;amp;Shorttext ) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I think this way it will work fine, but you won't get the best performance because if () evaluates each row in the table one by one.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 13:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798776#M64673</guid>
      <dc:creator>Fernando_Fabregas</dc:creator>
      <dc:date>2021-04-12T13:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Formula does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798782#M64675</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/138166"&gt;@Daniel1908&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try like below, bring flag field in script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load *, if([Price-3]&amp;lt;&amp;gt;{[Price-1]+[Price-2], 1, 0) as Flag from ursourcetable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In front end, try like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Count({&amp;lt;Flag ={1},[ReturnLabel]={"A*"}&amp;gt;})Material&amp;amp;Shorttext)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 13:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798782#M64675</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-04-12T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Formula does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798825#M64688</link>
      <description>&lt;P&gt;It shows Error in expression. Count takes 1 parameter.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 14:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798825#M64688</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-04-12T14:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Formula does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798841#M64697</link>
      <description>&lt;P&gt;Formula now shows OK after taking away the bracket before "if".&lt;/P&gt;&lt;P&gt;But does not show any values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 15:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798841#M64697</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-04-12T15:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Formula does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798842#M64698</link>
      <description>&lt;P&gt;Hi Mayil,&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know how to exclude the differnce of the prices at the decimal places?&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 15:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798842#M64698</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-04-12T15:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Formula does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798949#M64712</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/138166"&gt;@Daniel1908&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;might be Try like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load *, if([Price-3]-([Price-1]+[Price-2]) &amp;gt; 1, 1, 0) as Flag from ursourcetable;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 02:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1798949#M64712</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-04-13T02:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Formula does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1799129#M64719</link>
      <description>&lt;P&gt;Hi Mayil,&amp;nbsp;&lt;/P&gt;&lt;P&gt;unfortunately I just get 0 Values, but the formula shows still OK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;if("&lt;SPAN&gt;Price-3&lt;/SPAN&gt;"-"&lt;SPAN&gt;Price-1&lt;/SPAN&gt;"+"&lt;SPAN&gt;Price-2&lt;/SPAN&gt;",'&amp;gt;1''1','0') as Flag,&amp;nbsp; (from ursourcetable)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Count({&amp;lt;Flag ={1},[ReturnLabel]={"A*"}&amp;gt;})Material&amp;amp;Shorttext)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any Idea?&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>Tue, 13 Apr 2021 14:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1799129#M64719</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-04-13T14:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Formula does not work</title>
      <link>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1799143#M64721</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if("&lt;/SPAN&gt;&lt;SPAN&gt;Price-3&lt;/SPAN&gt;&lt;SPAN&gt;"-("&lt;/SPAN&gt;&lt;SPAN&gt;Price-1&lt;/SPAN&gt;&lt;SPAN&gt;"+"&lt;/SPAN&gt;&lt;SPAN&gt;Price-2&lt;/SPAN&gt;&lt;SPAN&gt;") &amp;gt;1,1,0) as L1Vergleich&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Count({&amp;lt;L1Vergleich={1},[ReturnLabel]={"A*"}&amp;gt;})Material&amp;amp;Shorttext)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 14:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Formula-does-not-work/m-p/1799143#M64721</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-04-13T14:53:14Z</dc:date>
    </item>
  </channel>
</rss>

