<?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 Background Color Expression And Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2501829#M103381</link>
    <description>&lt;P&gt;I am working with the Background Color Expression and having issues with the following calculation. I validated the results of each and they work as expected. The issue is when trying to highlight those values in the dataset below the average of the set. If I set a fixed value it works if i apply the validated calculation it does not recognize the value. Assume this a quote or single quote issue to pass the value into the if statement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF(sum({&amp;lt;CalWeekStart = {"&amp;gt;=$(=WeekStart(Today(),-14))&amp;lt;=$(=WeekStart(Today(),-2))"}&amp;gt;} Shipments) &lt;BR /&gt;&amp;lt;&lt;BR /&gt;28000 ///Set value works&lt;BR /&gt;//AVG(AGGR( sum({&amp;lt;CalWeekStart = {'&amp;gt;=$(=WeekStart(Today(),-14))&amp;lt;=$(=WeekStart(Today(),-2))'}&amp;gt;} Shipments) ,CalWeekStart)) /// Set Analysis Aggr Does Not&lt;/P&gt;
&lt;P&gt;,'#FFCCBC')&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2025 14:32:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-01-17T14:32:04Z</dc:date>
    <item>
      <title>Background Color Expression And Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2501829#M103381</link>
      <description>&lt;P&gt;I am working with the Background Color Expression and having issues with the following calculation. I validated the results of each and they work as expected. The issue is when trying to highlight those values in the dataset below the average of the set. If I set a fixed value it works if i apply the validated calculation it does not recognize the value. Assume this a quote or single quote issue to pass the value into the if statement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF(sum({&amp;lt;CalWeekStart = {"&amp;gt;=$(=WeekStart(Today(),-14))&amp;lt;=$(=WeekStart(Today(),-2))"}&amp;gt;} Shipments) &lt;BR /&gt;&amp;lt;&lt;BR /&gt;28000 ///Set value works&lt;BR /&gt;//AVG(AGGR( sum({&amp;lt;CalWeekStart = {'&amp;gt;=$(=WeekStart(Today(),-14))&amp;lt;=$(=WeekStart(Today(),-2))'}&amp;gt;} Shipments) ,CalWeekStart)) /// Set Analysis Aggr Does Not&lt;/P&gt;
&lt;P&gt;,'#FFCCBC')&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 14:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2501829#M103381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-17T14:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color Expression And Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2501858#M103382</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If you isolate your &lt;STRONG&gt;AVG()&lt;/STRONG&gt; expression in a KPI, which result do you obtain? If the expression works correctly, you have to obtain a single value.&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 17:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2501858#M103382</guid>
      <dc:creator>sbaro_bd</dc:creator>
      <dc:date>2025-01-17T17:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color Expression And Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2502705#M103494</link>
      <description>&lt;P&gt;The set analysis and aggregation expression is returning a single value and was validated. So this is not an answer. Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 16:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2502705#M103494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-23T16:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color Expression And Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2502712#M103495</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If you can, provide us an app with this use case for a better help.&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 17:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2502712#M103495</guid>
      <dc:creator>sbaro_bd</dc:creator>
      <dc:date>2025-01-23T17:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color Expression And Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2503635#M103633</link>
      <description>&lt;P&gt;For those who are familiar with setting up set analysis and aggr in QlikView and have migrated to Qlik Sense please just try to apply the &lt;SPAN&gt;Background Color Expression&lt;/SPAN&gt; in your app and put your findings here. Sharing the app shouldn't be needed for a straight forward example.&amp;nbsp;&lt;A id="link_17" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.qlik.com/t5/user/viewprofilepage/user-id/246131" target="_self" aria-label="View Profile of sbaro_bd" aria-describedby="userProfileCard-246131"&gt;&lt;SPAN class=""&gt;sbaro_bd&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;thank you for your input but would like other user feedback here.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 23:02:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2503635#M103633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-29T23:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Background Color Expression And Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2503667#M103638</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;That's because, you are trying to compare the expression with only one avg aggregated value (In your case, 28000). whereas if you apply the same expression on a table, it yields results on a row level.&lt;/P&gt;
&lt;P&gt;Try adding 'total' in your avg expression to get consistent avg numbers accross all rows.&lt;/P&gt;
&lt;P&gt;something like this:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;AVG(&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Total&lt;/FONT&gt;&lt;/STRONG&gt; AGGR( sum({&amp;lt;CalWeekStart = {'&amp;gt;=$(=WeekStart(Today(),-14))&amp;lt;=$(=WeekStart(Today(),-2))'}&amp;gt;} Shipments) ,CalWeekStart))&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Aditya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 05:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Background-Color-Expression-And-Set-Analysis/m-p/2503667#M103638</guid>
      <dc:creator>Aditya_Chitale</dc:creator>
      <dc:date>2025-01-30T05:49:19Z</dc:date>
    </item>
  </channel>
</rss>

