<?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: Greater than and Less than - Set Analysis Expression using a Measure in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2525078#M106968</link>
    <description>&lt;P&gt;I have another question related to this problem.&lt;BR /&gt;An order with a "DUE DATE" connected to more Delivery Notes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to count if the due_date is less than the max of delivery notes shipping date.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jul 2025 12:52:43 GMT</pubDate>
    <dc:creator>Nixi80</dc:creator>
    <dc:date>2025-07-23T12:52:43Z</dc:date>
    <item>
      <title>Greater than and Less than - Set Analysis Expression using a Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2124674#M91530</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to write a set analysis expression that counts the number of [Items] where the value of a measure [Fill %] is greater than 0 and less than 25.&lt;/P&gt;
&lt;P&gt;I've written the formula several different ways, but no success, the results are incorrect:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;[Fill %]={"&amp;gt;0 &amp;lt;25"}&amp;gt;}Items)&lt;/P&gt;
&lt;P&gt;Count({$&amp;lt;[Fill %] &amp;gt; {'0'}, [Fill %] &amp;lt; {'25'}&amp;gt;} Items)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count({$&amp;lt;[Fill %] = {'&amp;gt;0'}, [Fill %] ={'&amp;lt;25'}&amp;gt;} Items)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;None of the above work.&amp;nbsp; Any ideas or suggestions are greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 14:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2124674#M91530</guid>
      <dc:creator>ca3868077</dc:creator>
      <dc:date>2023-10-03T14:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and Less than - Set Analysis Expression using a Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2124752#M91534</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;your first set analysis is what i would have expected. Have you tired just great than and less than on there own to see if they are returning values as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 14:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2124752#M91534</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2023-10-03T14:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and Less than - Set Analysis Expression using a Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2124756#M91535</link>
      <description>&lt;P&gt;Thank you for your response.&amp;nbsp; I have tried it with one at a time and no change.&amp;nbsp; &amp;nbsp;In fact, no matter which version I use, it displays the same number as the result.&lt;/P&gt;
&lt;P&gt;Could the issue be that my measure, [Fill %], is a measure and not a column field?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 14:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2124756#M91535</guid>
      <dc:creator>ca3868077</dc:creator>
      <dc:date>2023-10-03T14:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and Less than - Set Analysis Expression using a Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2124770#M91538</link>
      <description>&lt;P&gt;Yes you can't use a measure like this.&lt;BR /&gt;I guess this is a master item?&amp;nbsp;&lt;BR /&gt;In this case, this should be better :&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Count({&amp;lt;Items={"=[Fill %]&amp;gt;0 And&amp;nbsp;[Fill %]&amp;lt;25"}&amp;gt;}Items)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;By the way if this is returning a percentage, 0.25 is maybe the upper boundary.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 14:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2124770#M91538</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-10-03T14:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and Less than - Set Analysis Expression using a Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2124774#M91539</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/248922"&gt;@ca3868077&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Only the first one has a good synthax. It doesn't work because the &lt;EM&gt;Set analysis&lt;/EM&gt; work like a filter on dimension, not on aggregated measure (on front-end part). Try an expression like and tell us if it works :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count({&amp;lt;[Items]={"=Fill_calculation_expression &amp;gt; 0"}&amp;gt; * &amp;lt;[Items]={"=Fill_calculation_expression &amp;lt; 25"}&amp;gt;}Items)&lt;/LI-CODE&gt;
&lt;P&gt;Regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 15:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2124774#M91539</guid>
      <dc:creator>sbaro_bd</dc:creator>
      <dc:date>2023-10-03T15:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and Less than - Set Analysis Expression using a Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2124784#M91542</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; Your formula and syntax seem to produce a result that is possible.&amp;nbsp; Also, yes it is a master item measure and I've used 0.25 as the upper bounds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I appreciate your help.&amp;nbsp; And thank you to everyone who responded with suggestions.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 15:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2124784#M91542</guid>
      <dc:creator>ca3868077</dc:creator>
      <dc:date>2023-10-03T15:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and Less than - Set Analysis Expression using a Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2525078#M106968</link>
      <description>&lt;P&gt;I have another question related to this problem.&lt;BR /&gt;An order with a "DUE DATE" connected to more Delivery Notes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to count if the due_date is less than the max of delivery notes shipping date.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 12:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2525078#M106968</guid>
      <dc:creator>Nixi80</dc:creator>
      <dc:date>2025-07-23T12:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and Less than - Set Analysis Expression using a Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2525084#M106969</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/54653"&gt;@Nixi80&lt;/a&gt;&amp;nbsp;Try&lt;/P&gt;&lt;P&gt;=Count(DISTINCT If( [Due Date] &amp;lt; Aggr(Max(shipping date]), [Order#]),[Order#]))&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 13:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2525084#M106969</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2025-07-23T13:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and Less than - Set Analysis Expression using a Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2525087#M106970</link>
      <description>&lt;P&gt;The set Analysis function is this one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;=Count(DISTINCT If( ORDINATO.DATA&amp;lt; Aggr(Max(SHIPPED.DATA_BOLLA]), [ORDINATO.ESERCIZIO]&amp;amp;[ORDINATO.PROTOCOLLO]&amp;amp;[ORDINATO.NUMERO]&amp;amp;[ORDINATO.RIGA], 0)&lt;BR /&gt;,[ORDINATO.ESERCIZIO]&amp;amp;[ORDINATO.PROTOCOLLO]&amp;amp;[ORDINATO.NUMERO]&amp;amp;[ORDINATO.RIGA]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the result for each single row is 0.&lt;/P&gt;&lt;P&gt;I don't know if I'm making a mistake somewhere&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 13:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2525087#M106970</guid>
      <dc:creator>Nixi80</dc:creator>
      <dc:date>2025-07-23T13:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and Less than - Set Analysis Expression using a Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2525100#M106974</link>
      <description>&lt;P&gt;Maybe you're missing a bracket: Aggr(Max(&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/FONT&gt;SHIPPED.DATA_BOLLA]). Also, ensure the date is properly formatted, and the concatenated key may be inconsistent.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 15:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2525100#M106974</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2025-07-23T15:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than and Less than - Set Analysis Expression using a Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2525131#M106981</link>
      <description>&lt;P&gt;It seems ok. I checked a few rows, it works fine.&lt;/P&gt;&lt;P&gt;The problem was related to the Key, I just considered one field concatenated properly.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 20:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Greater-than-and-Less-than-Set-Analysis-Expression-using-a/m-p/2525131#M106981</guid>
      <dc:creator>Nixi80</dc:creator>
      <dc:date>2025-07-23T20:50:41Z</dc:date>
    </item>
  </channel>
</rss>

