<?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: Straight Table Set Analysis Question in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Straight-Table-Set-Analysis-Question/m-p/1022550#M15444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have a background color expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(STATUS='Open',if(DaysOpen = 1, yellow(),if(DaysOpen &amp;gt; 1, red())))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 15:03:31 GMT</pubDate>
    <dc:creator>gbarrett</dc:creator>
    <dc:date>2016-02-25T15:03:31Z</dc:date>
    <item>
      <title>Straight Table Set Analysis Question</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-Table-Set-Analysis-Question/m-p/1022548#M15442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a straight table with multiple columns of dimensions and one column of an measure. The measure is simply an ID field with no aggregation, but a color expression. I have a field named CurrentFlag that I would like to use in set analysis. I only want to display rows where the CurrentFlag field value is 1. I tried adding set analysis to the expression like so: &lt;STRONG&gt;{&amp;lt;CurrentFlag={'1'}&amp;gt;}ID&lt;/STRONG&gt;. However, this results in an error. Looking at another post I tried using: &lt;STRONG&gt;Only({&amp;lt;CurrentFlag={'1'}&amp;gt;}ID), &lt;/STRONG&gt;which didn't result in an error, but it only hid the ID numbers and not the entire rows. Does anyone have a solution to hide the entire row if the flag is not 1? This must be handled in the front end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 19:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-Table-Set-Analysis-Question/m-p/1022548#M15442</guid>
      <dc:creator>gbarrett</dc:creator>
      <dc:date>2016-02-24T19:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Set Analysis Question</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-Table-Set-Analysis-Question/m-p/1022549#M15443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general, use aggregation functions in expressions&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3779"&gt;Use Aggregation Functions!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only() is an aggregation function, so that's what you probably should use here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use set analysis only in aggregation functions, so that's one more reason to use one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to your issue. I believe&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;CurrentFlag={'1'}&amp;gt;}ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Should filter your ID dimension, but maybe your color expression comes into play. How does it look like? Have you added a set expression also to your color expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 21:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-Table-Set-Analysis-Question/m-p/1022549#M15443</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-24T21:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Set Analysis Question</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-Table-Set-Analysis-Question/m-p/1022550#M15444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have a background color expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(STATUS='Open',if(DaysOpen = 1, yellow(),if(DaysOpen &amp;gt; 1, red())))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-Table-Set-Analysis-Question/m-p/1022550#M15444</guid>
      <dc:creator>gbarrett</dc:creator>
      <dc:date>2016-02-25T15:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Set Analysis Question</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-Table-Set-Analysis-Question/m-p/1022551#M15445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Only({&amp;lt;CurrentFlag = {1} &amp;gt;}STATUS)='Open',if(Only({&amp;lt;CurrentFlag = {1} &amp;gt;}DaysOpen) = 1, yellow(),if(Only({&amp;lt;CurrentFlag = {1} &amp;gt;} DaysOpen) &amp;gt; 1, red())))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 16:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-Table-Set-Analysis-Question/m-p/1022551#M15445</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-25T16:35:23Z</dc:date>
    </item>
  </channel>
</rss>

