<?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: Dynamic category based on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-category-based-on-selection/m-p/1613568#M445302</link>
    <description>&lt;P&gt;see attached qvw&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 13:12:11 GMT</pubDate>
    <dc:creator>Frank_Hartmann</dc:creator>
    <dc:date>2019-08-18T13:12:11Z</dc:date>
    <item>
      <title>Dynamic category based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-category-based-on-selection/m-p/1613558#M445301</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to create dynamic category base on user selections?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/17217iB78DCDD35B718F37/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In above example,&amp;nbsp; I have hard coded "Other" category for Products D,E,F&lt;/P&gt;&lt;P&gt;But my requirement is - For example:&lt;/P&gt;&lt;P&gt;If user selects Product A, B then rest of the possible products should come under category "Other"&lt;/P&gt;&lt;P&gt;If user selects A, D, C then rest of the possible products should come under "Other"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22245"&gt;@swuehl&lt;/a&gt; &lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18624"&gt;@Gysbert_Wassenaar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-category-based-on-selection/m-p/1613558#M445301</guid>
      <dc:creator>kinjal1645</dc:creator>
      <dc:date>2024-11-16T20:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic category based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-category-based-on-selection/m-p/1613568#M445302</link>
      <description>&lt;P&gt;see attached qvw&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 13:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-category-based-on-selection/m-p/1613568#M445302</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2019-08-18T13:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic category based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-category-based-on-selection/m-p/1613661#M445309</link>
      <description>&lt;P&gt;Calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aggr({&amp;lt;Product&amp;gt;} Only({&amp;lt;Product&amp;gt;}If( Index(GetFieldSelections(Product, '|'),Product) Or Len(GetFieldSelections(Product))=0,Product, 'Others')),Product)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Expression:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;sum({&amp;lt;Product&amp;gt;}Revenue)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 07:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-category-based-on-selection/m-p/1613661#M445309</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-08-19T07:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic category based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-category-based-on-selection/m-p/1613848#M445317</link>
      <description>&lt;P&gt;Here is another option&lt;/P&gt;&lt;P&gt;Create an inline table like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Dim:
LOAD * INLINE [
    Dim
    1
    2
    3
];&lt;/LI-CODE&gt;&lt;P&gt;and then this&lt;/P&gt;&lt;P&gt;Dimensions&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Pick(Dim, 'Revenue','Income','Expense')
=Aggr(If(Product = Only({1} Product), Product, 'Others'), Product)&lt;/LI-CODE&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Pick(Only(TOTAL &amp;lt;Dim&amp;gt; {1} Dim),
  Sum({&amp;lt;Product&amp;gt;}Revenue),
  Sum({&amp;lt;Product&amp;gt;}Income),
  Sum({&amp;lt;Product&amp;gt;}Expense)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 19 Aug 2019 13:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-category-based-on-selection/m-p/1613848#M445317</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-19T13:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic category based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-category-based-on-selection/m-p/1614179#M445332</link>
      <description>&lt;P&gt;Thanks Frank, Tresesco, Sunny&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 08:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-category-based-on-selection/m-p/1614179#M445332</guid>
      <dc:creator>kinjal1645</dc:creator>
      <dc:date>2019-08-20T08:23:33Z</dc:date>
    </item>
  </channel>
</rss>

