<?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: Set analysis with formula and condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-formula-and-condition/m-p/2135252#M92264</link>
    <description>&lt;P&gt;Set modifier should be defined for fields will not work on expressions.&amp;nbsp; I usually think of the modifiers as invisible selections made to the datamodel before calculating the expression.&lt;/P&gt;
&lt;P&gt;Are you able to pre generate the num as a field in the script?&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;num#(interval((dataInterventoPrincipale&amp;amp;' '&amp;amp;oraInterventoPrincipale - [dataora triage]),'mm')) as [Diff]&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;If you are then the set can look like this in your application.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Count( {&amp;lt; esclusione = {'0'} , esclusione2 = {'1'}, Diff ={"=&amp;lt;90"}&amp;gt;} progressivoSDO_IMA_STEMI_PTCA)&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2023 07:37:29 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2023-11-07T07:37:29Z</dc:date>
    <item>
      <title>Set analysis with formula and condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-formula-and-condition/m-p/2135234#M92263</link>
      <description>&lt;P&gt;Hello i'm trying to use this formula in set analysis but it not work.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count( {&amp;lt; esclusione = {'0'} , esclusione2 = {'1'}, Diff ={"=&amp;lt;90"}&amp;gt;} progressivoSDO_IMA_STEMI_PTCA) &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Diff is a variable system with this formula :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; num#(interval((dataInterventoPrincipale&amp;amp;' '&amp;amp;oraInterventoPrincipale - [dataora triage]),'mm'))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I tried this second formula in set analysis but doesen't work&lt;BR /&gt;Count( {&amp;lt; esclusione = {'0'} , esclusione2 = {'1'}, {="num#(interval((dataInterventoPrincipale&amp;amp;' '&amp;amp;oraInterventoPrincipale - [dataora triage]),'mm'))"} = {"&amp;lt;=90"} &amp;gt;} progressivoSDO_IMA_STEMI_PTCA).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 07:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-formula-and-condition/m-p/2135234#M92263</guid>
      <dc:creator>Fitus9092</dc:creator>
      <dc:date>2023-11-07T07:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with formula and condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-formula-and-condition/m-p/2135252#M92264</link>
      <description>&lt;P&gt;Set modifier should be defined for fields will not work on expressions.&amp;nbsp; I usually think of the modifiers as invisible selections made to the datamodel before calculating the expression.&lt;/P&gt;
&lt;P&gt;Are you able to pre generate the num as a field in the script?&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;num#(interval((dataInterventoPrincipale&amp;amp;' '&amp;amp;oraInterventoPrincipale - [dataora triage]),'mm')) as [Diff]&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;If you are then the set can look like this in your application.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Count( {&amp;lt; esclusione = {'0'} , esclusione2 = {'1'}, Diff ={"=&amp;lt;90"}&amp;gt;} progressivoSDO_IMA_STEMI_PTCA)&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 07:37:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-formula-and-condition/m-p/2135252#M92264</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2023-11-07T07:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with formula and condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-formula-and-condition/m-p/2135256#M92265</link>
      <description>&lt;P&gt;It works, many thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 07:41:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-formula-and-condition/m-p/2135256#M92265</guid>
      <dc:creator>Fitus9092</dc:creator>
      <dc:date>2023-11-07T07:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with formula and condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-formula-and-condition/m-p/2135259#M92266</link>
      <description>&lt;P&gt;Glad to help. Thank you for the fast feedback.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 07:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-formula-and-condition/m-p/2135259#M92266</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2023-11-07T07:44:18Z</dc:date>
    </item>
  </channel>
</rss>

