<?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 Selection based on filter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selection-based-on-filter/m-p/1783789#M1209796</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table which gives the information about Department, viewers, total profit&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within this table i want to display fileds cricket_team or Wrestling_team.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do so I have a cretaed a inline table in the script which is GameType( Cricket , Wrestling)&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the list box is like&amp;nbsp;&lt;/P&gt;&lt;P&gt;GameType&lt;/P&gt;&lt;P&gt;Cricket&lt;/P&gt;&lt;P&gt;Wrestling&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I select Cricket the table should show me Cricket_team filed and if I select GameType Wrestling then the Wrestling_team should be displayed .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whihc I am achiveing by this condition&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=if(GetFieldSelections([Game Type])='cricket',Cricket_team,wrestling_team)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here I need to show how do we include both the fields when i select bot the GameType in the filter selection ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 11:47:53 GMT</pubDate>
    <dc:creator>smilingjohn</dc:creator>
    <dc:date>2021-02-18T11:47:53Z</dc:date>
    <item>
      <title>Selection based on filter</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-based-on-filter/m-p/1783789#M1209796</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table which gives the information about Department, viewers, total profit&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within this table i want to display fileds cricket_team or Wrestling_team.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do so I have a cretaed a inline table in the script which is GameType( Cricket , Wrestling)&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the list box is like&amp;nbsp;&lt;/P&gt;&lt;P&gt;GameType&lt;/P&gt;&lt;P&gt;Cricket&lt;/P&gt;&lt;P&gt;Wrestling&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I select Cricket the table should show me Cricket_team filed and if I select GameType Wrestling then the Wrestling_team should be displayed .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whihc I am achiveing by this condition&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=if(GetFieldSelections([Game Type])='cricket',Cricket_team,wrestling_team)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here I need to show how do we include both the fields when i select bot the GameType in the filter selection ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 11:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-based-on-filter/m-p/1783789#M1209796</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2021-02-18T11:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Selection based on filter</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-based-on-filter/m-p/1784023#M1209822</link>
      <description>&lt;P&gt;if what you intend to do is add the two fields CricketField and WrestlingField in the dimension, you can use conitions for both fields:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;for CriketField, condition is&amp;nbsp;=if(SubStringCount(Concat(DISTINCT &lt;SPAN&gt;GameType&lt;/SPAN&gt;),'Cricket')&amp;gt;0,1,0)&lt;/P&gt;&lt;P&gt;for WrestlingField, condition is&amp;nbsp;=if(SubStringCount(Concat(DISTINCT &lt;SPAN&gt;GameType&lt;/SPAN&gt;),'Wrestling')&amp;gt;0,1,0)&lt;/P&gt;&lt;P&gt;if both are selected, both fields will show&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 00:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-based-on-filter/m-p/1784023#M1209822</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-02-19T00:01:03Z</dc:date>
    </item>
  </channel>
</rss>

