<?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: Exclude unwanted data in a column (pivot table) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973531#M80315</link>
    <description>&lt;P&gt;I'll dive into this match function, but do I understand Qlik well if I do not have to use aggr here ? In my pivot the reference is used as a column dimension, hence no aggregation needed.&lt;/P&gt;
&lt;P&gt;I'll let you know, at the moment all my trials are returning errors in the function editor...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tks anyway &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2022 11:04:56 GMT</pubDate>
    <dc:creator>chris_gva</dc:creator>
    <dc:date>2022-08-26T11:04:56Z</dc:date>
    <item>
      <title>Exclude unwanted data in a column (pivot table)</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973503#M80311</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;Newby on Qlik sense, I am trying to exclude some dummy entries in my pivot.&lt;/P&gt;
&lt;P&gt;In the example below, I would like to exclude see any "test" or "trial" entries.&lt;/P&gt;
&lt;P&gt;I tried to add the following condition in the dimension condition "show the column if" :&amp;nbsp;&lt;BR /&gt;[Reference]&amp;lt;&amp;gt;'test' or [Reference] &amp;lt;&amp;gt;'trial'&lt;BR /&gt;the editor says the expression is fine (OK).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example data :&lt;/STRONG&gt;&lt;BR /&gt;Country|Reference|Quantity&lt;BR /&gt;&lt;SPAN&gt;Switzerland|test|20&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Switzerland|GO1212|20&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Switzerland|GO1111|45&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Switzerland|trial|20&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;France|test|3&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;France|GM1215|2&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;France|GO1111|15&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;France|trial|45&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;thanks a lot for your help&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 09:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973503#M80311</guid>
      <dc:creator>chris_gva</dc:creator>
      <dc:date>2022-08-26T09:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude unwanted data in a column (pivot table)</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973508#M80312</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;may be this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;aggr(if(match(&lt;SPAN&gt;Reference,'test','trial'),null,Reference),Reference)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 09:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973508#M80312</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2022-08-26T09:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude unwanted data in a column (pivot table)</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973527#M80314</link>
      <description>&lt;P&gt;Alternatively, this at the back end&lt;/P&gt;
&lt;P&gt;TempData:&lt;BR /&gt;load * Inline [&lt;BR /&gt;Country,Reference,Quantity&lt;BR /&gt;Switzerland,test,20&lt;BR /&gt;Switzerland,GO1212,20&lt;BR /&gt;Switzerland,GO1111,45&lt;BR /&gt;Switzerland,trial,20&lt;BR /&gt;France,test,3&lt;BR /&gt;France,GM1215,2&lt;BR /&gt;France,GO1111,15&lt;BR /&gt;France,trial,45];&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Data:&lt;BR /&gt;LOAD *&lt;BR /&gt;Resident TempData&lt;BR /&gt;Where not WildMatch(Upper(Reference),'*TEST*','TRIAL');&lt;BR /&gt;DROP Table TempData;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 11:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973527#M80314</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-08-26T11:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude unwanted data in a column (pivot table)</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973531#M80315</link>
      <description>&lt;P&gt;I'll dive into this match function, but do I understand Qlik well if I do not have to use aggr here ? In my pivot the reference is used as a column dimension, hence no aggregation needed.&lt;/P&gt;
&lt;P&gt;I'll let you know, at the moment all my trials are returning errors in the function editor...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tks anyway &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 11:04:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973531#M80315</guid>
      <dc:creator>chris_gva</dc:creator>
      <dc:date>2022-08-26T11:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude unwanted data in a column (pivot table)</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973533#M80316</link>
      <description>&lt;P&gt;Tks for the idea, this would be my last option.&lt;/P&gt;
&lt;P&gt;Load of the data is done by another team, and this solution would oblige me to change the query if a new "fake" occurrence appear.&lt;/P&gt;
&lt;P&gt;Having it solved by function, allow me to be more flexible :).&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 11:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973533#M80316</guid>
      <dc:creator>chris_gva</dc:creator>
      <dc:date>2022-08-26T11:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude unwanted data in a column (pivot table)</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973537#M80317</link>
      <description>&lt;P&gt;If you're sticking to your approach then this&lt;/P&gt;
&lt;P&gt;=IF([Reference]&amp;lt;&amp;gt;'test' and [Reference] &amp;lt;&amp;gt;'trial',[Reference])&lt;/P&gt;
&lt;P&gt;Also, you'll have to suppress when the value is null.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peter_brown_0-1661512904358.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/87583i604024BAAE147179/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peter_brown_0-1661512904358.png" alt="peter_brown_0-1661512904358.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 11:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973537#M80317</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-08-26T11:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude unwanted data in a column (pivot table)</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973555#M80319</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Aggr is'nt necessary&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can avoid it like this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=if(not match(&lt;SPAN&gt;Reference&lt;/SPAN&gt;,&lt;SPAN&gt;'*TEST*','TRIAL'&lt;/SPAN&gt;),&lt;SPAN&gt;Reference&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P&gt;Or&lt;/P&gt;
&lt;P&gt;if(match(&lt;SPAN&gt;Reference&lt;/SPAN&gt;,&lt;SPAN&gt;'*TEST*','TRIAL'&lt;/SPAN&gt;),null(),Reference)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;see help page for understanding match not match mismatch function in QS&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 11:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-unwanted-data-in-a-column-pivot-table/m-p/1973555#M80319</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2022-08-26T11:52:19Z</dc:date>
    </item>
  </channel>
</rss>

