<?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 Straight Table Calculated Dimension with Set Analysis non-numeric values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Straight-Table-Calculated-Dimension-with-Set-Analysis-non/m-p/1655115#M48955</link>
    <description>&lt;P&gt;I have many use cases of trying to limit data in a straight table inside Qlik Sense.&amp;nbsp; One of the more common one is to only show rows of data where a value is blank in a different column.&lt;/P&gt;&lt;P&gt;IE:&lt;/P&gt;&lt;P&gt;Show me a list of 'Products' where 'Customer' field is blank.&lt;BR /&gt;I'm trying to do this with Set Analysis (vs 'IF').&amp;nbsp; What I THINK should work is:&lt;/P&gt;&lt;P&gt;=aggr(only({$&amp;lt;Products= {"=len(trim(Customer))=0"}&amp;gt; Products}, Products)&lt;/P&gt;&lt;P&gt;Unfortunately, it gives me "Invalid Dimension"&lt;/P&gt;&lt;P&gt;Similar use case would be:&lt;BR /&gt;Show me a list of 'Products' where 'Customer' = 'ABC'.&lt;/P&gt;&lt;P&gt;=aggr(only({$&amp;lt;Customer= {"ABC"}&amp;gt; Products}, Products)&lt;BR /&gt;&lt;BR /&gt;I'm assuming syntax is the culprit.&amp;nbsp; Exhaustive searching has led me here.&amp;nbsp; Thoughts?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:54:06 GMT</pubDate>
    <dc:creator>joey_lutes</dc:creator>
    <dc:date>2024-11-16T03:54:06Z</dc:date>
    <item>
      <title>Straight Table Calculated Dimension with Set Analysis non-numeric values</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-Table-Calculated-Dimension-with-Set-Analysis-non/m-p/1655115#M48955</link>
      <description>&lt;P&gt;I have many use cases of trying to limit data in a straight table inside Qlik Sense.&amp;nbsp; One of the more common one is to only show rows of data where a value is blank in a different column.&lt;/P&gt;&lt;P&gt;IE:&lt;/P&gt;&lt;P&gt;Show me a list of 'Products' where 'Customer' field is blank.&lt;BR /&gt;I'm trying to do this with Set Analysis (vs 'IF').&amp;nbsp; What I THINK should work is:&lt;/P&gt;&lt;P&gt;=aggr(only({$&amp;lt;Products= {"=len(trim(Customer))=0"}&amp;gt; Products}, Products)&lt;/P&gt;&lt;P&gt;Unfortunately, it gives me "Invalid Dimension"&lt;/P&gt;&lt;P&gt;Similar use case would be:&lt;BR /&gt;Show me a list of 'Products' where 'Customer' = 'ABC'.&lt;/P&gt;&lt;P&gt;=aggr(only({$&amp;lt;Customer= {"ABC"}&amp;gt; Products}, Products)&lt;BR /&gt;&lt;BR /&gt;I'm assuming syntax is the culprit.&amp;nbsp; Exhaustive searching has led me here.&amp;nbsp; Thoughts?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-Table-Calculated-Dimension-with-Set-Analysis-non/m-p/1655115#M48955</guid>
      <dc:creator>joey_lutes</dc:creator>
      <dc:date>2024-11-16T03:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Calculated Dimension with Set Analysis non-numeric values</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-Table-Calculated-Dimension-with-Set-Analysis-non/m-p/1655126#M48957</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First in the syntax there is a typing error I think before "Products" and comma you have to close the parenthesis of only.&lt;BR /&gt;the same in the second script.&lt;/P&gt;&lt;P&gt;And then in the dimension why not just use the dimension calculate :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=if(Len(Trim([Customer])) = 0,Products, Null())&lt;/LI-CODE&gt;&lt;P&gt;And for the second one&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=if(Customer = 'ABC',Products, Null())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 19:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-Table-Calculated-Dimension-with-Set-Analysis-non/m-p/1655126#M48957</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2019-12-06T19:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Calculated Dimension with Set Analysis non-numeric values</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-Table-Calculated-Dimension-with-Set-Analysis-non/m-p/1655128#M48958</link>
      <description>&lt;P&gt;I think you need to replace one of the } to ) and also, you have a missing } after &lt;SPAN&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;}&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=aggr(only({$&amp;lt;Products= {"=len(trim(Customer))=0"&lt;FONT size="5"&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;}&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt; Products&lt;FONT size="5"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;}&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;, Products)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try this&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Aggr(
    Only({$&amp;lt;Products = {"=Len(Trim(Customer)) = 0"}&amp;gt;} Products)
, Products)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 19:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-Table-Calculated-Dimension-with-Set-Analysis-non/m-p/1655128#M48958</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-06T19:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Calculated Dimension with Set Analysis non-numeric values</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-Table-Calculated-Dimension-with-Set-Analysis-non/m-p/1655133#M48959</link>
      <description>&lt;P&gt;Thanks Sunny.&amp;nbsp; I think that is correct.&amp;nbsp; It didn't give me an error this time.&lt;/P&gt;&lt;P&gt;However, I realized, my data model is such that I'm going to have to go at it a different way.&amp;nbsp; &amp;nbsp; 'Customer' (in this example) is not in the same table - and is linked several tables away.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate the response as always!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 19:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-Table-Calculated-Dimension-with-Set-Analysis-non/m-p/1655133#M48959</guid>
      <dc:creator>joey_lutes</dc:creator>
      <dc:date>2019-12-06T19:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Calculated Dimension with Set Analysis non-numeric values</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-Table-Calculated-Dimension-with-Set-Analysis-non/m-p/1657962#M49262</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;This one is more simple for you :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=aggr(if (Len(Trim( Customer))=0,Products,Null()),Products)&lt;/P&gt;&lt;P&gt;Don't forget to not include null values for Products&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 10:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-Table-Calculated-Dimension-with-Set-Analysis-non/m-p/1657962#M49262</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2019-12-16T10:54:43Z</dc:date>
    </item>
  </channel>
</rss>

