<?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 Hiding fields when other fields selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hiding-fields-when-other-fields-selected/m-p/300319#M497578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need to see the Student ID in any of the tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could create a second field in your data model which is an autonumber or hash of your Student ID field and use this in your tables instead ... you'd still be able to select a student to look at some other information elsewhere in your app, but you wouldn't see the Student ID so wouldn't be able to identify him/her.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you could still create this field, but then have two charts, one with Student ID and one with the second field. You then use a conditional show on the charts to swap them out when an ethnicity or disablility is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should perform better than a calculated dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Nov 2011 15:50:07 GMT</pubDate>
    <dc:creator>dominicmander</dc:creator>
    <dc:date>2011-11-07T15:50:07Z</dc:date>
    <item>
      <title>Hiding fields when other fields selected</title>
      <link>https://community.qlik.com/t5/QlikView/Hiding-fields-when-other-fields-selected/m-p/300318#M497577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rubbish title sorry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my dashboard has many pivot tables each with 2 dimensions down the side: one attribute (e.g. age) opening out into an id field (student_number). then a value = simple data count. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dashboard also has many filters. For data protection reasons, if the user selects from the Disability or Ethnicity filter, I need to hide the id field but show the attribute field and the value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've had a couple of goes&lt;/P&gt;&lt;P&gt;a) replace student_number with a calculated field = Student_Number *&amp;nbsp; (1- GetSelectedCount([Disability]))&amp;nbsp; * (1-GetSelectedCount([Ethnicity])). This then shows '0' if any Ethnicity or Disability selection is made, otherwise shows student number. However it made the first 3 charts I modified painfully slow to refresh (I carefully avoided IF statements) and I would have to add it to every chart, aargh. The report's already huge &amp;amp; unwieldy so I'm very reluctant to let performance deteriorate further. Also it doesn't work if multiple selections are made (luckily this is v unlikely for these binary fields)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) create a variable varVisible = (1- GetSelectedCount([Disability]))&amp;nbsp; * (1-GetSelectedCount([Ethnicity])) - as above - and the calculated field is &lt;/P&gt;&lt;P&gt; Student_Number * varVisible. This looks like just an extra step but it's a bit faster. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... but I'm wondering is there a magic answer which tackles this from a different angle?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 14:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hiding-fields-when-other-fields-selected/m-p/300318#M497577</guid>
      <dc:creator>georgina_spary</dc:creator>
      <dc:date>2011-11-07T14:55:39Z</dc:date>
    </item>
    <item>
      <title>Hiding fields when other fields selected</title>
      <link>https://community.qlik.com/t5/QlikView/Hiding-fields-when-other-fields-selected/m-p/300319#M497578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need to see the Student ID in any of the tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could create a second field in your data model which is an autonumber or hash of your Student ID field and use this in your tables instead ... you'd still be able to select a student to look at some other information elsewhere in your app, but you wouldn't see the Student ID so wouldn't be able to identify him/her.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you could still create this field, but then have two charts, one with Student ID and one with the second field. You then use a conditional show on the charts to swap them out when an ethnicity or disablility is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should perform better than a calculated dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 15:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hiding-fields-when-other-fields-selected/m-p/300319#M497578</guid>
      <dc:creator>dominicmander</dc:creator>
      <dc:date>2011-11-07T15:50:07Z</dc:date>
    </item>
    <item>
      <title>Hiding fields when other fields selected</title>
      <link>https://community.qlik.com/t5/QlikView/Hiding-fields-when-other-fields-selected/m-p/300320#M497579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it's essential that you can see Student number if you haven't selected the 'dangerous' filters Ethnicity/ disability. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dashboard already uses contitional show to allow the user to switch between coloured (bar etc.) charts and 'Underlying counts' using a button - my problem outlined above occurs in 'underlying' view. I could do a third set of charts with the conditions you suggest. But there are a lot of them! But maybe that's the best solution for optimisation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 15:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hiding-fields-when-other-fields-selected/m-p/300320#M497579</guid>
      <dc:creator>georgina_spary</dc:creator>
      <dc:date>2011-11-07T15:55:33Z</dc:date>
    </item>
  </channel>
</rss>

