<?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: How to Calculate Expression Values for non-selected dimension in a Listbox? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740902#M1043534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the expression you have to include set analysis to disregard selection, and it will probably give you what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2014 05:33:15 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-11-28T05:33:15Z</dc:date>
    <item>
      <title>How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740901#M1043533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck at a very unique situation. Tried reading a lot about this but to no avail. Finally decided to post this here, hoping that some one might have faced this issue before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Listbox, in which the Dimension(which is an Expression), and I have some other metrics being calculated for this specific Dimension. Now as we all know , a property of Listbox is that when we select a value, it gets highlighted in green and all other values are still visible (but are greyed), now here is my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The metrics (other expressions) are not being calculated for non-selected values. Basically, I get values only for the primary dimension not the other metrics. I hope it's clear, I have also added screenshots to tey and explain this better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping for a quick resolution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740901#M1043533</guid>
      <dc:creator />
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740902#M1043534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the expression you have to include set analysis to disregard selection, and it will probably give you what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 05:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740902#M1043534</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-11-28T05:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740903#M1043535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you have showed is definitely a simpler version of my case. My problem is my expressions are already complex with set analysis included in them (multiple filters). I am not sure how i can add more set analysis into it.&lt;/P&gt;&lt;P&gt;Ex: The field that I take in the listbox is not a dimension, rather an Expression like ;&lt;/P&gt;&lt;P&gt;=If(Aggr(sum({&amp;lt;[Organization ID]=,PlanTrack_R12={'C'},[Sold To Opt Out Flag]={'N'}&amp;gt;}PlanTrack.Sales),[Organization ID])&amp;gt;0,[Organization ID])&lt;/P&gt;&lt;P&gt;Now my metrics are even more complex than these..so not sure about how to proceed. Any ideas would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 06:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740903#M1043535</guid>
      <dc:creator />
      <dc:date>2014-11-28T06:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740904#M1043536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share your app with the list box. It can be done using set analysis by making your selection ineffective.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 06:33:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740904#M1043536</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-11-28T06:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740905#M1043537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyothish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I can't do that as its placed on a remote server and I can't make a copy of that at this point of time. Hope you can understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 06:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740905#M1043537</guid>
      <dc:creator />
      <dc:date>2014-11-28T06:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740906#M1043538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the expression set part you just have to include the selection field, may be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[&lt;STRONG&gt;Organization ID]=,&lt;/STRONG&gt;your existing set analysis&amp;gt;} your exp)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 06:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740906#M1043538</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-11-28T06:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740907#M1043539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So my Sales metric is something like this:&lt;/P&gt;&lt;P&gt;Num(sum({&amp;lt;PlanTrack_R3={'C'},[Sold To Opt Out Flag]={"N"},PlanTrack.Territory=p($::[Territory Number])&amp;gt;}PlanTrack.Sales),'#,##0.0')&lt;/P&gt;&lt;P&gt;and my ORG ID (which I have taken as the dimension) is defined as something like this: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=If(Aggr(sum({&amp;lt;[Organization ID]=,PlanTrack_R12={'C'},[Sold To Opt Out Flag]={'N'}&amp;gt;}PlanTrack.Sales),[Organization ID])&amp;gt;0,[Organization ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;So, how would I go about defining the Sale metric to take into consideration my ORG ID?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 06:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740907#M1043539</guid>
      <dc:creator />
      <dc:date>2014-11-28T06:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740908#M1043540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep the org id as it is, and try other expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(sum({&amp;lt;&lt;STRONG&gt;[Organization ID]=,&lt;/STRONG&gt;PlanTrack_R3={'C'},[Sold To Opt Out Flag]={"N"},PlanTrack.Territory=p($::[Territory Number])&amp;gt;}PlanTrack.Sales),'#,##0.0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 06:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740908#M1043540</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-11-28T06:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740909#M1043541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tresesco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That worked for all my Metrics and they are now being calculated. But I am still stuck with one more column of ORG NAME. The expression for that is something like this:&lt;/P&gt;&lt;P&gt;=If(count({&amp;lt;PlanTrack_R12={'C'},PlanTrack.Sales={"&amp;gt;0"},[Sold To Opt Out Flag]={"N"}&amp;gt;}[PlanTrack.MDM ID]) &amp;gt;0, [Organization Name]&lt;/P&gt;&lt;P&gt;&amp;amp; '(' &amp;amp; &lt;/P&gt;&lt;P&gt;count(Distinct{&amp;lt;PlanTrack_R12={'C'},PlanTrack.Sales={"&amp;gt;0"},[Sold To Opt Out Flag]={"N"}&amp;gt;}[PlanTrack.MDM ID])&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;amp; ')',0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I possibly include the ORG ID filter in this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 07:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740909#M1043541</guid>
      <dc:creator />
      <dc:date>2014-11-28T07:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740910#M1043542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare the syntax for ORG ID in back end and name it as ORG ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. if(....your syntax) as ORG ID,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then in front end in your expression for salesmetrix as tresesco mentioned: try lie this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;[ORG ID]=,Plan Track..... your expression&amp;gt;})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 07:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740910#M1043542</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-11-28T07:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740911#M1043543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I am doing a resident load from some other dataset which exists. My constraint is that I should not be defining new variables in the script (I know right!). So is this possible with just expressions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 07:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740911#M1043543</guid>
      <dc:creator />
      <dc:date>2014-11-28T07:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740912#M1043544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count({&amp;lt;[Organization ID]=,Plantrack={'C'}......your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 07:37:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740912#M1043544</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-11-28T07:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate Expression Values for non-selected dimension in a Listbox?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740913#M1043545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried what you had mentioned as follows :&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=If(count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Organization ID]=,&lt;/SPAN&gt;PlanTrack_R12={'C'},PlanTrack.Sales={"&amp;gt;0"},[Sold To Opt Out Flag]={"N"}&amp;gt;}[PlanTrack.MDM ID]) &amp;gt;0, [Organization Name]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;amp; '(' &amp;amp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count(Distinct{&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Organization ID]=,&lt;/SPAN&gt;PlanTrack_R12={'C'},PlanTrack.Sales={"&amp;gt;0"},[Sold To Opt Out Flag]={"N"}&amp;gt;}[PlanTrack.MDM ID]) &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;amp; ')',0)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now the problem is only the second part of the expression is working (so I am only getting the count like (10) (25) etc), 1st part isn't working!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 07:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Calculate-Expression-Values-for-non-selected-dimension-in/m-p/740913#M1043545</guid>
      <dc:creator />
      <dc:date>2014-11-28T07:45:01Z</dc:date>
    </item>
  </channel>
</rss>

