<?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 to filter fields in chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81202#M777958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the right answer somewhere in other post here in community.&lt;/P&gt;&lt;P&gt;I really appreciate your effort by replying&amp;nbsp; to this post and looking forward to learn more in Qlik! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2018 03:21:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-13T03:21:11Z</dc:date>
    <item>
      <title>Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81189#M777945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would like to know on how can I filter the fields in Qliksense chart using set analysis.&lt;/P&gt;&lt;P&gt;Currently I am trying this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(vSourceType = 'Data 1', Only({$&amp;lt;SourceType = {"Data 1"}&amp;gt;}SourceType), Only({$&amp;lt;SourceType = {"Data 2"}&amp;gt;}SourceType))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to return is when user select the Data 1 in selection, then Data 1 will only appear in SourceType field. Else, Data 2 in SourceType.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81189#M777945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81190#M777946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is the above expression used? What exactly are you trying to display?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 15:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81190#M777946</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-10T15:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81191#M777947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think is not necessary use "Set Analysis" if you put a list with values "Data 1", "Data 2" etc... and you force it to have one selected value... is enought, isn´t it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 15:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81191#M777947</guid>
      <dc:creator>jmvilaplanap</dc:creator>
      <dc:date>2018-04-10T15:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81192#M777948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's Qliksense dashboard, when dashboard user select these selection, the export button would export the data which exclusively selected.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Selection.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/199196_Selection.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Don't know what is wrong in my expression in export button.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Expression.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/199183_Expression.JPG" style="font-size: 13.3333px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 04:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81192#M777948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-11T04:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81193#M777949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=If(vSourceType = 'Data 1', 'Data 1', 'Data 2')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 11:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81193#M777949</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-11T11:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81194#M777950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for being patient, Sunny. When I use that expression and hit the download button, it return this data.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="output.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/199256_output.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;No more Data 2 in the field but the count is just the same. I guess it just replace the Data 2, not to export only the Data 1 exclusively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a set analysis that I can filter the field in Qliksense? Below expression is not working.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Only({$&amp;lt;SourceType = 'Data 1'&amp;gt;-1&amp;lt;SourceType='Data 2'&amp;gt;}SourceType)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 11:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81194#M777950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-11T11:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81195#M777951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But isn't vSourceType a variable? I am not sure I am able to follow what you are looking to do...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 11:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81195#M777951</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-11T11:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81196#M777952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, vSourceType is a variable. This variable toggles if user select Data 1 or Data 2.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Selection.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/199264_Selection.JPG" /&gt;&lt;/P&gt;&lt;P&gt;Then, expression you provided is what I used here.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="download.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/199263_download.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;But when I download the file, it shows me the whole data. Not filtered by Source Type which user selected.&lt;/P&gt;&lt;P&gt;Apologies if I made you confused.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 11:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81196#M777952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-11T11:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81197#M777953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Source Type is an Island table? Is it not linked to your data model?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 12:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81197#M777953</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-11T12:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81198#M777954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is linked in data model. It's actually part of link table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 12:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81198#M777954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-11T12:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81199#M777955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, when you select Data 1 it should filter down to only those rows where the Type is Data 1 (unless you have set analysis to over ride selections), right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 12:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81199#M777955</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-11T12:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81200#M777956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly! I'm just new to Qlik and I would love to learn more..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 12:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81200#M777956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-11T12:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81201#M777957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try&lt;/P&gt;&lt;P&gt;If(vSourceType = 'Data 1',&lt;/P&gt;&lt;P&gt;Aggr(Max({$&amp;lt;SourceType = {"Data 1"}&amp;gt;}SourceType),Year,Month), &lt;/P&gt;&lt;P&gt;Aggr(Max({$&amp;lt;SourceType = {"Data 2"}&amp;gt;}SourceType),Year,Month)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 14:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81201#M777957</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-11T14:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to filter fields in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81202#M777958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the right answer somewhere in other post here in community.&lt;/P&gt;&lt;P&gt;I really appreciate your effort by replying&amp;nbsp; to this post and looking forward to learn more in Qlik! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 03:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-filter-fields-in-chart/m-p/81202#M777958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-13T03:21:11Z</dc:date>
    </item>
  </channel>
</rss>

