<?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 If condition with range in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-condition-with-range/m-p/2495741#M102577</link>
    <description>&lt;P&gt;Hi All,&lt;BR /&gt;I am creating table with multiple fields i.e. dimensions and expressions&lt;BR /&gt;I want give conditional background color for measure, my measure is ratio&lt;/P&gt;
&lt;P&gt;ratio values are like -5%,0%,3%,8%,10%.&lt;/P&gt;
&lt;P&gt;my color condition is that like below :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saritha077_0-1733218970923.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175126iA9EAE48793CF7C18/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saritha077_0-1733218970923.png" alt="Saritha077_0-1733218970923.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If(ratio &amp;lt; 3%, green(),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;If(ratio &amp;lt; 3% to 5% , yellow(),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;If(ratio &amp;gt; 5%, red()))&lt;/P&gt;
&lt;P&gt;I am giving condition here&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saritha077_1-1733219181915.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175127i4A402DEADF426C03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saritha077_1-1733219181915.png" alt="Saritha077_1-1733219181915.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If i use above condition for color control it is not giving correct colors.&lt;/P&gt;
&lt;P&gt;Please help me to get correct colors.&lt;/P&gt;
&lt;P&gt;thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;Saritha.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 09:47:11 GMT</pubDate>
    <dc:creator>Saritha077</dc:creator>
    <dc:date>2024-12-03T09:47:11Z</dc:date>
    <item>
      <title>If condition with range</title>
      <link>https://community.qlik.com/t5/App-Development/If-condition-with-range/m-p/2495741#M102577</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;I am creating table with multiple fields i.e. dimensions and expressions&lt;BR /&gt;I want give conditional background color for measure, my measure is ratio&lt;/P&gt;
&lt;P&gt;ratio values are like -5%,0%,3%,8%,10%.&lt;/P&gt;
&lt;P&gt;my color condition is that like below :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saritha077_0-1733218970923.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175126iA9EAE48793CF7C18/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saritha077_0-1733218970923.png" alt="Saritha077_0-1733218970923.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If(ratio &amp;lt; 3%, green(),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;If(ratio &amp;lt; 3% to 5% , yellow(),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;If(ratio &amp;gt; 5%, red()))&lt;/P&gt;
&lt;P&gt;I am giving condition here&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saritha077_1-1733219181915.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175127i4A402DEADF426C03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saritha077_1-1733219181915.png" alt="Saritha077_1-1733219181915.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If i use above condition for color control it is not giving correct colors.&lt;/P&gt;
&lt;P&gt;Please help me to get correct colors.&lt;/P&gt;
&lt;P&gt;thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;Saritha.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 09:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-condition-with-range/m-p/2495741#M102577</guid>
      <dc:creator>Saritha077</dc:creator>
      <dc:date>2024-12-03T09:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: If condition with range</title>
      <link>https://community.qlik.com/t5/App-Development/If-condition-with-range/m-p/2495759#M102581</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/313738"&gt;@Saritha077&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Modify your expression like this :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If(ratio &amp;lt;= 0.03, green(),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;If(ratio &amp;lt;= 0.05, yellow(),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;If(ratio &amp;gt; 0.05, red()))&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 10:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-condition-with-range/m-p/2495759#M102581</guid>
      <dc:creator>sbaro_bd</dc:creator>
      <dc:date>2024-12-03T10:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: If condition with range</title>
      <link>https://community.qlik.com/t5/App-Development/If-condition-with-range/m-p/2495762#M102582</link>
      <description>&lt;P&gt;Hi Saritha,&lt;/P&gt;
&lt;P&gt;Use below expression:&lt;/P&gt;
&lt;P&gt;If(ratio &amp;lt;= 0.03, green(),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;If(ratio &amp;lt;= 0.05, yellow(),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;If(ratio &amp;gt; 0.05, red()))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR use master measure and set colors for threshold for reusability.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AshutoshBhumkar_0-1733221935580.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175132i01D33BB914F5C4E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AshutoshBhumkar_0-1733221935580.png" alt="AshutoshBhumkar_0-1733221935580.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ashutosh&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 10:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-condition-with-range/m-p/2495762#M102582</guid>
      <dc:creator>AshutoshBhumkar</dc:creator>
      <dc:date>2024-12-03T10:33:42Z</dc:date>
    </item>
  </channel>
</rss>

