<?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 Toggle select value with Set Analysis with AGGR in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Toggle-select-value-with-Set-Analysis-with-AGGR/m-p/973589#M980127</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All, &lt;/P&gt;&lt;P&gt;I am able to select a field&amp;nbsp; called 'Item' using toggle select and the search string as follows&lt;/P&gt;&lt;P&gt;='=(sum(aggr(DISTINCT&lt;/P&gt;&lt;P&gt;if((Sum([Full Consumption])/Sum([Onhand USD])) &amp;lt;4.0,&lt;/P&gt;&lt;P&gt;Count( Item),0),&lt;/P&gt;&lt;P&gt;Item) ))'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, once i try to introduce Set analysis into this expression, it wont render...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;='=(sum(aggr(DISTINCT&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if((Sum({$&amp;lt;Level_Flag= {'0'},Filter = {'1'}&amp;gt;} [Full Consumption])/Sum(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;{$&amp;lt;Level_Flag= {'0'},Filter = {'1'}&amp;gt;} &lt;/SPAN&gt;[Onhand USD])) &amp;lt;4.0,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Count( Item),0),&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Item) ))'&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;any ideas on a workaround???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2015 17:11:50 GMT</pubDate>
    <dc:creator>james</dc:creator>
    <dc:date>2015-08-21T17:11:50Z</dc:date>
    <item>
      <title>Toggle select value with Set Analysis with AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-select-value-with-Set-Analysis-with-AGGR/m-p/973589#M980127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All, &lt;/P&gt;&lt;P&gt;I am able to select a field&amp;nbsp; called 'Item' using toggle select and the search string as follows&lt;/P&gt;&lt;P&gt;='=(sum(aggr(DISTINCT&lt;/P&gt;&lt;P&gt;if((Sum([Full Consumption])/Sum([Onhand USD])) &amp;lt;4.0,&lt;/P&gt;&lt;P&gt;Count( Item),0),&lt;/P&gt;&lt;P&gt;Item) ))'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, once i try to introduce Set analysis into this expression, it wont render...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;='=(sum(aggr(DISTINCT&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if((Sum({$&amp;lt;Level_Flag= {'0'},Filter = {'1'}&amp;gt;} [Full Consumption])/Sum(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;{$&amp;lt;Level_Flag= {'0'},Filter = {'1'}&amp;gt;} &lt;/SPAN&gt;[Onhand USD])) &amp;lt;4.0,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Count( Item),0),&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Item) ))'&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;any ideas on a workaround???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 17:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-select-value-with-Set-Analysis-with-AGGR/m-p/973589#M980127</guid>
      <dc:creator>james</dc:creator>
      <dc:date>2015-08-21T17:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle select value with Set Analysis with AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-select-value-with-Set-Analysis-with-AGGR/m-p/973590#M980128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's probably due to the single quotes in your set modifiers being misinterpreted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='=(sum(aggr(DISTINCT&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if((Sum({$&amp;lt;Level_Flag= {0},Filter = {1}&amp;gt;} [Full Consumption])/Sum(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;{$&amp;lt;Level_Flag= {0},Filter = {1}&amp;gt;} &lt;/SPAN&gt;[Onhand USD])) &amp;lt;4.0,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count( Item),0),&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Item) ))'&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='=(sum(aggr(DISTINCT&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if((Sum({$&amp;lt;Level_Flag= {"0"},Filter = {"1"}&amp;gt;} [Full Consumption])/Sum(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;{$&amp;lt;Level_Flag= {"0"},Filter = {"1"}&amp;gt;} &lt;/SPAN&gt;[Onhand USD])) &amp;lt;4.0,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count( Item),0),&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Item) ))'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 18:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-select-value-with-Set-Analysis-with-AGGR/m-p/973590#M980128</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-21T18:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle select value with Set Analysis with AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Toggle-select-value-with-Set-Analysis-with-AGGR/m-p/973591#M980129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the single quotes was the issue...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 21:05:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Toggle-select-value-with-Set-Analysis-with-AGGR/m-p/973591#M980129</guid>
      <dc:creator>james</dc:creator>
      <dc:date>2015-08-21T21:05:34Z</dc:date>
    </item>
  </channel>
</rss>

