<?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: Hide/Show column based on a Field value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578018#M741242</link>
    <description>&lt;P&gt;Only one of those 4 functions use what it is actually selected.&lt;/P&gt;
&lt;P&gt;To follow with the example with Concat() that you should be testing already&lt;/P&gt;
&lt;P&gt;Concat(Field, ';')&lt;/P&gt;
&lt;P&gt;Will return a list like A;B;C;D;E;F;G as long as those are possible values (meaning, on the green or white values, not grey. If you need grey values as well, use the {1} set modifier).&lt;/P&gt;
&lt;P&gt;Then building a condition to check whether a value is present, you can easily use the following as the condition expression&lt;/P&gt;
&lt;P&gt;If(WildMatch(Concat(Field, ';'), '*FieldA*') &amp;gt; 0, 1, 0)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see, this does not require any selection by any user.&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2019 14:38:49 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2019-05-08T14:38:49Z</dc:date>
    <item>
      <title>Hide/Show column based on a Field value</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578002#M741239</link>
      <description>&lt;P&gt;How do I show/hide a column in Straight or Pivot table based on values from other fields?&lt;/P&gt;&lt;P&gt;For example, if FieldA contains 'Yes', then show the column. If the FieldA does not contain 'Yes', then hide the column. Just to make it clear, I don't want to make selections on FieldA. The condition should check if there is a required value in the field and show/hide the column on its own, without user selection on the field.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578002#M741239</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2024-11-16T03:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hide/Show column based on a Field value</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578006#M741240</link>
      <description>&lt;P&gt;You can use functions like GetSelectedCount() or Count(DISTINCT Field) and also GetPossibleCount(), I'd say Count(DISTINCT) along with CONCAT(DISTINCT) is the best bet.&lt;/P&gt;
&lt;P&gt;If you mean the value not on a listbox or on a field but instead on the chart itself, replicate the expression in the chart as the condition box.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 14:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578006#M741240</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2019-05-08T14:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hide/Show column based on a Field value</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578014#M741241</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22381"&gt;@Miguel_Angel_Baeyens&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem here is, I don't want to select the value from the field in the list box or anywhere else and all these functions would only work if I select the value explicitly.&lt;/P&gt;&lt;P&gt;If the FieldA contains value 'Yes', then show the expression, else hide the expression.&lt;/P&gt;&lt;P&gt;I don't want to select 'Yes' in FieldA manually to trigger the Hide/Show condition.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 14:33:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578014#M741241</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2019-05-08T14:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hide/Show column based on a Field value</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578018#M741242</link>
      <description>&lt;P&gt;Only one of those 4 functions use what it is actually selected.&lt;/P&gt;
&lt;P&gt;To follow with the example with Concat() that you should be testing already&lt;/P&gt;
&lt;P&gt;Concat(Field, ';')&lt;/P&gt;
&lt;P&gt;Will return a list like A;B;C;D;E;F;G as long as those are possible values (meaning, on the green or white values, not grey. If you need grey values as well, use the {1} set modifier).&lt;/P&gt;
&lt;P&gt;Then building a condition to check whether a value is present, you can easily use the following as the condition expression&lt;/P&gt;
&lt;P&gt;If(WildMatch(Concat(Field, ';'), '*FieldA*') &amp;gt; 0, 1, 0)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see, this does not require any selection by any user.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 14:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578018#M741242</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2019-05-08T14:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hide/Show column based on a Field value</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578022#M741243</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/9788"&gt;@qlikwiz123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to layout tab and put this condition&lt;/P&gt;&lt;P&gt;Wildmatch(concat(&lt;SPAN&gt;FieldA&lt;/SPAN&gt;,','),'*&lt;SPAN&gt;Yes&lt;/SPAN&gt;*')&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 14:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578022#M741243</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2019-05-08T14:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hide/Show column based on a Field value</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578028#M741244</link>
      <description>&lt;P&gt;Layout hides the entire chart. I only need to Hide/Show if the value 'Yes' is present or absent in FieldA, without user selection on FieldA&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 14:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578028#M741244</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2019-05-08T14:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hide/Show column based on a Field value</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578061#M741245</link>
      <description>Yes, this will hide the chart based on the Value Yes.&lt;BR /&gt;If yes is not present in FieldA, then chart will be hidden.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 May 2019 16:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-Show-column-based-on-a-Field-value/m-p/1578061#M741245</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2019-05-08T16:35:02Z</dc:date>
    </item>
  </channel>
</rss>

