<?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: Table Condition with selected filter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-Condition-with-selected-filter/m-p/2021250#M1222075</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I do not fully understand your use case, so may not be the right solution.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if you are trying to evalute something being selected you want to use the GetFieldSelections() function&lt;/P&gt;
&lt;P&gt;Something like&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If(GetFieldSelections(Filter1)="S",0,1)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2023 10:33:19 GMT</pubDate>
    <dc:creator>Mark_Little</dc:creator>
    <dc:date>2023-01-03T10:33:19Z</dc:date>
    <item>
      <title>Table Condition with selected filter</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Condition-with-selected-filter/m-p/2021242#M1222074</link>
      <description>&lt;P&gt;Hello guys,&lt;BR /&gt;I have a question.&amp;nbsp; How I have to define the condition to my table so that I get zeros for all entries for a special filter? My table looks like below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pietapa_0-1672740463738.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97143i33DE440010A14690/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pietapa_0-1672740463738.png" alt="pietapa_0-1672740463738.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I tried this to see what happend:&amp;nbsp;&lt;BR /&gt;If(Filter1="S",0,1)&lt;BR /&gt;But when I select the S at Filter1 I get an error message :&amp;nbsp;Condition for calculation not fulfilled.&lt;BR /&gt;&lt;BR /&gt;My problem is that I have no data for this filter until Dec22. Therefore I wanted to show zeros all of my entries.&lt;BR /&gt;Thank you for help&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 10:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Condition-with-selected-filter/m-p/2021242#M1222074</guid>
      <dc:creator>pietapa</dc:creator>
      <dc:date>2023-01-03T10:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table Condition with selected filter</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Condition-with-selected-filter/m-p/2021250#M1222075</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I do not fully understand your use case, so may not be the right solution.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if you are trying to evalute something being selected you want to use the GetFieldSelections() function&lt;/P&gt;
&lt;P&gt;Something like&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If(GetFieldSelections(Filter1)="S",0,1)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 10:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Condition-with-selected-filter/m-p/2021250#M1222075</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2023-01-03T10:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Table Condition with selected filter</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Condition-with-selected-filter/m-p/2021275#M1222077</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29012"&gt;@Mark_Little&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;okay I try to explain it more understandable.&amp;nbsp;&lt;BR /&gt;My original data looks like that&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pietapa_0-1672743999284.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97147i078F5C23A172EEA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pietapa_0-1672743999284.png" alt="pietapa_0-1672743999284.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have a region, date, Filter1, Filter2 and the count of this kinds. And If you can see if Filter1 is L or S there are no values for these months. To get an better overview I created a cross-table like above, where you have the count of every region for each month. Now what I would like to have is&amp;nbsp; if I select Filter1=S, my cross table should show&amp;nbsp; me for every cell 0 beside Dec-22.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I tried your suggestion but it does not work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 11:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Condition-with-selected-filter/m-p/2021275#M1222077</guid>
      <dc:creator>pietapa</dc:creator>
      <dc:date>2023-01-03T11:15:02Z</dc:date>
    </item>
  </channel>
</rss>

