<?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: Remove selection in Multiple Fields with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598582#M221641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think a solution to this problem will be to hide the fields you don't want users to see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing this you need to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add set hideprefix = '_'; and then add underscores to all the fields you want to hide. Once you do a full reload all the fields starting with an underscore will be hiden from users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 14:51:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-04T14:51:07Z</dc:date>
    <item>
      <title>Remove selection in Multiple Fields with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598578#M221637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;I've created a star schema datamodel with many dimension and multiple facts in the central fact table.&lt;/P&gt;&lt;P&gt;For certain analysis I'd like to remove selection in multiple fields with Set Analysis e.g. Sum({$&amp;lt;ProductName=&amp;gt;} OrderCount).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As there are a lot of Dimensionen (&amp;gt;30) and der remove Selection Set should later be dynamic I wondered if there is a way to remove selection of Fields in a more efficient way. I was thinking of either using simply the keys to the dimensions like %KEY_Product in order to remove all the Fields in the Product Dimension. Or using a inverse logic to keep only those selections of certain fields an ignore all other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For both ways I've no Idea how to realise it! Any help is appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 14:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598578#M221637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-04T14:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Remove selection in Multiple Fields with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598579#M221638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas, you can create the set analysis expression dynamically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, create a table with one field having required dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_DIM:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;_DIM_SET&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create the variable&amp;nbsp; LET vSETExp =&amp;nbsp; '{$&amp;lt;' &amp;amp; concat({1}_DIM_SET , '=,') &amp;amp; '=&amp;gt;$'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above value will return like below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {$&amp;lt;A=,B=,C=,D=&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 14:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598579#M221638</guid>
      <dc:creator />
      <dc:date>2014-03-04T14:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Remove selection in Multiple Fields with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598580#M221639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! Your post shows how final result will/should look like!&lt;/P&gt;&lt;P&gt;Thus, my question was more about if there is a way to remove selections of fields more efficiently e.g. remove a entire set of Field (Table) via the KEY Field or inverting the logic!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 14:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598580#M221639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-04T14:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Remove selection in Multiple Fields with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598581#M221640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As of my knowledge we can't apply the wildcard search on the Field names in the Set Analysis like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {$&amp;lt;%KEY*=&amp;gt;} Amount) --&amp;gt; This is Incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the other way is create the dynamic set expression with field starting with %KEY_* like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vDynamicExp = Concat( {1&amp;lt;[$Field]={'%KEY_*'}&amp;gt;} '{$&amp;lt;'&amp;amp; [$Field] &amp;amp;' )', '=,') &amp;amp; '=&amp;gt;}'&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and call this variable $(=vDynamicExp)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 14:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598581#M221640</guid>
      <dc:creator />
      <dc:date>2014-03-04T14:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove selection in Multiple Fields with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598582#M221641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think a solution to this problem will be to hide the fields you don't want users to see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing this you need to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add set hideprefix = '_'; and then add underscores to all the fields you want to hide. Once you do a full reload all the fields starting with an underscore will be hiden from users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 14:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598582#M221641</guid>
      <dc:creator />
      <dc:date>2014-03-04T14:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Remove selection in Multiple Fields with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598583#M221642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not want to hide the fields as they are necessary for other facts. It's only necessary the deactivate them for certain expression. It's just that they are so many. But I think i will go with dathu.qvs way first and build somehow a string containings those fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 15:20:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-selection-in-Multiple-Fields-with-Set-Analysis/m-p/598583#M221642</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-04T15:20:01Z</dc:date>
    </item>
  </channel>
</rss>

