<?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: Exclude certain dimension values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749379#M57623</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Your solution is very similar to what I'm already doing. My measure expression is:&lt;/P&gt;&lt;P&gt;if(vKPI = 'ACL', Sum({&amp;lt;Category= {'3'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'ACE',Sum({&amp;lt;Category= {'2'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'AIN',Sum({&amp;lt;Category= {'1'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'AOT',Sum({&amp;lt;Category= {'5'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'ARE',Sum({&amp;lt;Category= {*},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'ALE',Sum({&amp;lt;Category= {'6'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'IIN',Sum({&amp;lt;Category= {'9'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'APR',Sum({&amp;lt;Category= {'4'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont)&lt;BR /&gt;,&lt;BR /&gt;0))))))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And my Dimension expression is = Family&lt;/P&gt;&lt;P&gt;However, when I click on a KPI chart, the bar chart change the values correctly but shows all families and I need to show only those families which belong to the selected category.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Àlex&lt;/P&gt;</description>
    <pubDate>Sat, 03 Oct 2020 21:30:47 GMT</pubDate>
    <dc:creator>agbcn</dc:creator>
    <dc:date>2020-10-03T21:30:47Z</dc:date>
    <item>
      <title>Exclude certain dimension values</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749373#M57620</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Let's assume I have a table with the following fields&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Id&amp;nbsp; &amp;nbsp; Category&amp;nbsp; &amp;nbsp; Family&amp;nbsp; &amp;nbsp; Cont&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;4&amp;nbsp; &amp;nbsp; B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; B1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;5&amp;nbsp; &amp;nbsp; B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; B2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;6&amp;nbsp; &amp;nbsp; C&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; C1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;7&amp;nbsp; &amp;nbsp; C&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; C2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;and I also have 3 KPI charts for every Category. When I click a KPI chart, a variable (vKPI) is set to the name of the KPI chart. So if I click KPI chart corresponding to Category A, my variable is set to A and so on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd need a bar chart to show the Sum(Cont) by Family. The requirement is I must show only the Family values corresponding to the Family stored in variable vKPI. So if VKPI is set to A, The Families shown in the bar chart must be A1, A2 and A3. If is set to B, Families shown are B1 and B2.&amp;nbsp;Every time I click on KPI chart, the bar chart must change to show the corresponding&amp;nbsp; values (I already know how to do that)&lt;/P&gt;&lt;P&gt;I tried to do it by using Match() or If(), but it doesn't seem to work.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749373#M57620</guid>
      <dc:creator>agbcn</dc:creator>
      <dc:date>2024-11-16T18:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude certain dimension values</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749376#M57621</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/109391"&gt;@agbcn&lt;/a&gt;&amp;nbsp; If you already have setup variable with category values then you can try creating barchart with Dimension Family and expression as below&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Category ={"$(&lt;STRONG&gt;vCategory&lt;/STRONG&gt;)'}&amp;gt;}Cont)&lt;/P&gt;&lt;P&gt;Where&amp;nbsp;&lt;STRONG&gt;vCategory&amp;nbsp;&lt;/STRONG&gt;is variable setup by KPI (Assuming).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2020 21:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749376#M57621</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-03T21:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude certain dimension values</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749379#M57623</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Your solution is very similar to what I'm already doing. My measure expression is:&lt;/P&gt;&lt;P&gt;if(vKPI = 'ACL', Sum({&amp;lt;Category= {'3'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'ACE',Sum({&amp;lt;Category= {'2'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'AIN',Sum({&amp;lt;Category= {'1'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'AOT',Sum({&amp;lt;Category= {'5'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'ARE',Sum({&amp;lt;Category= {*},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'ALE',Sum({&amp;lt;Category= {'6'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'IIN',Sum({&amp;lt;Category= {'9'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont),&lt;BR /&gt;if(vKPI = 'APR',Sum({&amp;lt;Category= {'4'},[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont)&lt;BR /&gt;,&lt;BR /&gt;0))))))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And my Dimension expression is = Family&lt;/P&gt;&lt;P&gt;However, when I click on a KPI chart, the bar chart change the values correctly but shows all families and I need to show only those families which belong to the selected category.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Àlex&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2020 21:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749379#M57623</guid>
      <dc:creator>agbcn</dc:creator>
      <dc:date>2020-10-03T21:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude certain dimension values</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749380#M57624</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/109391"&gt;@agbcn&lt;/a&gt;&amp;nbsp; you said on clicking KPI variable sets the category. What value it captures in variable? Because in your set condition value of vKPI is different then Category values used in set analysis.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2020 21:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749380#M57624</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-03T21:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude certain dimension values</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749381#M57625</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;When I click the KPI chart, the variable sets the category name and the number in the set condition is the Category Id (numerical). The vKPI value is used in some other places in my app and it's easier the name than the value.&lt;/P&gt;&lt;P&gt;So vKPI stores "&lt;SPAN&gt;ACL", "ACE", ...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2020 21:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749381#M57625</guid>
      <dc:creator>agbcn</dc:creator>
      <dc:date>2020-10-03T21:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude certain dimension values</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749382#M57626</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/109391"&gt;@agbcn&lt;/a&gt;&amp;nbsp; Why don't you just use Category name in set like below? Doing so you don't need to create so many expressions. Clicking on KPI will store the value and that value will get passed to set analysis which will work dynamically&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;&lt;STRONG&gt;Category_Name= {'$(vKPI)'}&lt;/STRONG&gt;,[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2020 21:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749382#M57626</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-03T21:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude certain dimension values</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749383#M57627</link>
      <description>&lt;P&gt;I already did it, but it didn't work ...&lt;/P&gt;&lt;P&gt;I mean, the sum of Cont is ok, however I still see Families which doesn't belong to the category&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2020 22:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749383#M57627</guid>
      <dc:creator>agbcn</dc:creator>
      <dc:date>2020-10-03T22:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude certain dimension values</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749385#M57628</link>
      <description>&lt;P&gt;This is my last try.. I mean share your sample app otherwise guessing will go on&amp;nbsp;&lt;/P&gt;&lt;P&gt;try calculated dimension&lt;/P&gt;&lt;P&gt;=aggr(only({&amp;lt;Category_Name= {'$(vKPI)'}&amp;gt;}Family),Family)&amp;nbsp; // check Suppress null value option&lt;/P&gt;&lt;P&gt;then your expression will go like blow&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;[OrdDt.Fisc.FiscalYear]={$(vCurrentYearl)}&amp;gt;} Cont)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2020 23:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749385#M57628</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-03T23:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude certain dimension values</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749387#M57629</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;It seems to work! I'm still wondering why the other solutions didn't!&lt;/P&gt;&lt;P&gt;Thanks for your time and help. I really appreciate it&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2020 23:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-certain-dimension-values/m-p/1749387#M57629</guid>
      <dc:creator>agbcn</dc:creator>
      <dc:date>2020-10-03T23:46:00Z</dc:date>
    </item>
  </channel>
</rss>

