<?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: How can I apply a greater than or equal from an integer field in Set Analysis? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117422#M91167</link>
    <description>&lt;P&gt;This is working, thank you!&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/246131"&gt;@sbaro_bd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2023 13:34:05 GMT</pubDate>
    <dc:creator>ilknura</dc:creator>
    <dc:date>2023-09-15T13:34:05Z</dc:date>
    <item>
      <title>How can I apply a greater than or equal from an integer field in Set Analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117362#M91156</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I must apply greater than or equal conditions between my two integer fields in set analysis.&lt;/P&gt;
&lt;P&gt;But on the first try, turning 0 value.&lt;BR /&gt;also, the second try is turning the average total ordered_amount.&lt;/P&gt;
&lt;P&gt;How can I solve this issue?&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;I tried this (the first try);&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;Shipped_Amount={"&amp;lt;=Ordered_Amount"}&amp;gt;} distinct Order_ID)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;and this (the second try);&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;Shipped_Amount={"&amp;gt;=$(= $(vAmount))"}&amp;gt;} distinct Order_ID)&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;vAmount&lt;/STRONG&gt;&lt;/FONT&gt;: sum( Aggr(avg(Ordered_Amount),Order_ID,Item_Code))&lt;/P&gt;
&lt;P&gt;I am waiting for suggestions, thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:24:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117362#M91156</guid>
      <dc:creator>ilknura</dc:creator>
      <dc:date>2024-11-15T21:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can I apply a greater than or equal from an integer field in Set Analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117371#M91158</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try below&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;Shipped_Amount={"&amp;gt;=$(vAmount)"}&amp;gt;} distinct SIPARIS_FIS_NO)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in your variable add = in that&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;vAmount variable is like&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;=sum( Aggr(avg(Ordered_Amount),Order_ID,Item_Code))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Prashant Sangle&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 12:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117371#M91158</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2023-09-15T12:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can I apply a greater than or equal from an integer field in Set Analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117382#M91159</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;thank you but&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I tried this already it didn't work. I guess that kind of syntax doesn't work on variables.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;Shipped_Amount={"&amp;gt;=$(vAmount)"}&amp;gt;} distinct Order_ID)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;this is working;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;Shipped_Amount={"&amp;gt;=$(= $(vAmount))"}&amp;gt;} distinct Order_ID)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but the variable is not giving me the true amount.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 12:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117382#M91159</guid>
      <dc:creator>ilknura</dc:creator>
      <dc:date>2023-09-15T12:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I apply a greater than or equal from an integer field in Set Analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117404#M91162</link>
      <description>&lt;P&gt;the output of $(vAmount) is completely depend on how you define the variable?&lt;/P&gt;
&lt;P&gt;Can you share the snip of variable definition?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 12:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117404#M91162</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2023-09-15T12:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I apply a greater than or equal from an integer field in Set Analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117408#M91163</link>
      <description>&lt;P&gt;try:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt;Shipped_Amount={'&amp;gt;=$(= $(vAmount))'}&amp;gt;} distinct Order_ID)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 12:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117408#M91163</guid>
      <dc:creator>Cascader</dc:creator>
      <dc:date>2023-09-15T12:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I apply a greater than or equal from an integer field in Set Analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117410#M91164</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/246555"&gt;@ilknura&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If your objective is to count orders whose the shipped amount is below the ordered amount, I can suggest you to create a flag in your script and use it in a simplified expression :&amp;nbsp;&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;Create this flag in your script&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;IF(Shippered_Amount &amp;lt; Ordered_Amount, 1,0) as Flag​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Use the flag is your set analysis expression&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;Count({&amp;lt;Flag={1}&amp;gt;} distinct Order_ID)​&lt;/LI-CODE&gt;
&lt;P&gt;Regards.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 15 Sep 2023 12:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117410#M91164</guid>
      <dc:creator>sbaro_bd</dc:creator>
      <dc:date>2023-09-15T12:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I apply a greater than or equal from an integer field in Set Analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117422#M91167</link>
      <description>&lt;P&gt;This is working, thank you!&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/246131"&gt;@sbaro_bd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 13:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117422#M91167</guid>
      <dc:creator>ilknura</dc:creator>
      <dc:date>2023-09-15T13:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I apply a greater than or equal from an integer field in Set Analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117423#M91168</link>
      <description>&lt;P&gt;What do you want to do isn't possible - at least not with a classical set analysis which is a column-level evaluation and your described requirement needs a row-level evaluation. This means you will need an if-loop to make this kind of query. This might be done with set analysis syntax - but it remains an if-loop - maybe like this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count({&amp;lt; Order_ID ={"=Shipped_Amount&amp;lt;=Ordered_Amount"}&amp;gt;} distinct Order_ID)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Depending on the data-model and the object-view you may need further measurements, like an aggr() to force the comparison&amp;nbsp;to consider the needed dimensionality.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If any possible follow the suggestion from&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/246131"&gt;@sbaro_bd&lt;/a&gt;&amp;nbsp;and making the essential work within the data-model.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 13:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117423#M91168</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-09-15T13:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I apply a greater than or equal from an integer field in Set Analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117426#M91169</link>
      <description>&lt;P&gt;this is how I define the variable&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 553px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116424i19256C2B7CF4BF65/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 13:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117426#M91169</guid>
      <dc:creator>ilknura</dc:creator>
      <dc:date>2023-09-15T13:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I apply a greater than or equal from an integer field in Set Analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117430#M91170</link>
      <description>&lt;P&gt;Thank you for your detailed feedback. I understand now how is that not possible.&lt;/P&gt;
&lt;P&gt;I solved that with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/246131"&gt;@sbaro_bd&lt;/a&gt;&amp;nbsp; 's suggestion.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 13:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-apply-a-greater-than-or-equal-from-an-integer-field-in/m-p/2117430#M91170</guid>
      <dc:creator>ilknura</dc:creator>
      <dc:date>2023-09-15T13:48:26Z</dc:date>
    </item>
  </channel>
</rss>

