<?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: Set Analysis with multiple conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072329#M358081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you - we're one step away!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is returning the indicator value for each department correctly, but it returns it for this level and the other level is null. Can i exclude everything BUT "level-executive"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2016 16:00:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-21T16:00:49Z</dc:date>
    <item>
      <title>Set Analysis with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072324#M358076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I need to show the single value for a field called "INDICATOR" even though it repeats across many groups and sub-groups. The set would be built like this:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;SELECTED METRIC&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;SELECTED YEAR&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;SELECTED PERIOD&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FOR EACH DEPARTMENT&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;WHERE LEVEL="EXECUTIVE"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;How can I achieve those different conditions in one statement?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Here's what I tried, but it still shows me the maximum of 5 all departments. Not the indicator PER department. ONLY isn't working...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Max({ &amp;lt; ${METRIC}, ${YEAR}, ${PERIOD} , ${DEPARTMENT} ,[LEVEL]={"EXECUTIVEl"} &amp;gt; }&amp;nbsp; [INDICATOR])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 20:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072324#M358076</guid>
      <dc:creator />
      <dc:date>2016-04-20T20:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072325#M358077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="text-decoration: line-through;"&gt;Max({&amp;lt;[LEVEL]={'EXECUTIVEl'}&amp;gt;} [INDICATOR])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say for each department, do you want to see the max value from each of the departments? or one value from all department combined? Not sure I completely understand, do you have a sample you can share? with expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 20:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072325#M358077</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-20T20:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072326#M358078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to see a measure per department, you could create a chart with dimension &lt;STRONG&gt;DEPARTMENT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and then an appropriate expression.&lt;/P&gt;&lt;P&gt;If you want SELECTED METRIC,SELECTED YEAR,SELECTED PERIOD, you don't need to do anything special, user selections will be considered by default in your aggregations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe just create your expression like Sunny suggested&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=Max({ &amp;lt; [LEVEL]={'EXECUTIVEl'} &amp;gt; }&amp;nbsp; [INDICATOR])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;You could also create a text box with the results displayed in a concatenated string:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;=Concat( Aggr( DEPARTMENT &amp;amp; ': ' &amp;amp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Max({ &amp;lt; [LEVEL]={'EXECUTIVEl'} &amp;gt; }&amp;nbsp; [INDICATOR]), DEPARTMENT), ',')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;But also here, you would need to create something with 1 dimension and 1 expression if you want to show your number &lt;EM&gt;per&lt;/EM&gt; DEPARTMENT (which is done withing the aggr() function in latter example).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3015"&gt;Dimensions and Measures&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 21:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072326#M358078</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-20T21:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072327#M358079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to see the max indicator value for each department&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 21:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072327#M358079</guid>
      <dc:creator />
      <dc:date>2016-04-20T21:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072328#M358080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then may be use as suggested by Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat(Aggr(Max({&amp;lt;LEVEL = {'EXECUTIVE'}&amp;gt;} INDICATOR), DEPARTMENT), Chr(10))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 21:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072328#M358080</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-20T21:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072329#M358081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you - we're one step away!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is returning the indicator value for each department correctly, but it returns it for this level and the other level is null. Can i exclude everything BUT "level-executive"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 16:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072329#M358081</guid>
      <dc:creator />
      <dc:date>2016-04-21T16:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072330#M358082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;=Concat(&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;{&amp;lt;[LEVEL]={'EXECUTIVEl'}&amp;gt;} &lt;/STRONG&gt;Aggr(DEPARTMENT &amp;amp; ': ' &amp;amp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Max({&amp;lt;[LEVEL]={'EXECUTIVEl'}&amp;gt;}&amp;nbsp; [INDICATOR]), DEPARTMENT), ',')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 16:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072330#M358082</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-21T16:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072331#M358083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure which of the two suggested expressions you are referring to. And in which context you are using it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe what Sunny suggested works, if not, please describe in full detail your expression context:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All dimensions used,&lt;/P&gt;&lt;P&gt;All expressions used.&lt;/P&gt;&lt;P&gt;Chart Type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't ask for some details of your data model for now, but this might be the next step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 21:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-multiple-conditions/m-p/1072331#M358083</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-21T21:38:57Z</dc:date>
    </item>
  </channel>
</rss>

