<?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 Conditional field content based on another field (different table) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-field-content-based-on-another-field-different-table/m-p/341874#M492997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading a table which is the main data set and I'm also loading up a "Data Island" not connected with the data set but containing True / False flags and also values for a field which is used for Initial selections which is generated from section access data and the current user so these values will change. I can hard code the if statement but I need to know how to reference the fields in the data island so that the conditional value is dynamic for each user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataIsland:&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 70%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;NTNAME&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;showID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Initials&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;user1&lt;/TD&gt;&lt;TD&gt;True&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;user1&lt;/TD&gt;&lt;TD&gt;False&lt;/TD&gt;&lt;TD&gt;DEF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;user2&lt;/TD&gt;&lt;TD&gt;False&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The initials will correspond with initials in the main data-set(I know there is no link but set analysis will be used for filtering).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Im trying to achieve is a conditional value in field ID(main data-set) based on: If the Data island flag showID is true then show the ID but only where the initials are ABC but for initials DEF do not show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've no problem writing the conditional if statement, what I really need help with is accessing / comparing the data set data with the data island data at the point of running the if statement to decide what content to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately I want to be able to conditionally change the value of sensitive fields based on permissions stored in a SQL table in conjunction with section access.&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;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2012 11:25:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-07T11:25:38Z</dc:date>
    <item>
      <title>Conditional field content based on another field (different table)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-field-content-based-on-another-field-different-table/m-p/341874#M492997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading a table which is the main data set and I'm also loading up a "Data Island" not connected with the data set but containing True / False flags and also values for a field which is used for Initial selections which is generated from section access data and the current user so these values will change. I can hard code the if statement but I need to know how to reference the fields in the data island so that the conditional value is dynamic for each user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataIsland:&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 70%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;NTNAME&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;showID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Initials&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;user1&lt;/TD&gt;&lt;TD&gt;True&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;user1&lt;/TD&gt;&lt;TD&gt;False&lt;/TD&gt;&lt;TD&gt;DEF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;user2&lt;/TD&gt;&lt;TD&gt;False&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The initials will correspond with initials in the main data-set(I know there is no link but set analysis will be used for filtering).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Im trying to achieve is a conditional value in field ID(main data-set) based on: If the Data island flag showID is true then show the ID but only where the initials are ABC but for initials DEF do not show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've no problem writing the conditional if statement, what I really need help with is accessing / comparing the data set data with the data island data at the point of running the if statement to decide what content to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately I want to be able to conditionally change the value of sensitive fields based on permissions stored in a SQL table in conjunction with section access.&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;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 11:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-field-content-based-on-another-field-different-table/m-p/341874#M492997</guid>
      <dc:creator />
      <dc:date>2012-06-07T11:25:38Z</dc:date>
    </item>
  </channel>
</rss>

