<?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: Associating subfield values to a linked table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563289#M1148230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I do that I get an error that says field names must be unique. Here is what I put in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield(Roles, '; ',1) as Role,&lt;/P&gt;&lt;P&gt;Subfield(Roles, '; ',2) as Role,&lt;/P&gt;&lt;P&gt;Subfield(Roles, '; ',3) as Role&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried&lt;/P&gt;&lt;P&gt;Subfield(Roles, '; ') as Role,&lt;/P&gt;&lt;P&gt;Subfield(Roles, '; ') as Role,&lt;/P&gt;&lt;P&gt;Subfield(Roles, '; ') as Role&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and got the same error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2013 14:52:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-11T14:52:13Z</dc:date>
    <item>
      <title>Associating subfield values to a linked table</title>
      <link>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563285#M1148224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one data source of users and their assigned roles in our financial system. If a user has more than 1 role, all roles (up to, say, 4 roles) appear in the “Role” field and are separate by semicolon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve performed a subfield function to separate multiple roles into separate fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another data source of the roles and their applicable permissions so that I can view the permissions a user has. The key between the 2 data sets is the Role title.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the subfield function, though, I lose the ability to view the permissions of a 2&lt;SUP&gt;nd&lt;/SUP&gt;, 3&lt;SUP&gt;rd&lt;/SUP&gt; or 4&lt;SUP&gt;th&lt;/SUP&gt; assigned role when I click on it. How can I associate the role subfields to the permissions table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 13:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563285#M1148224</guid>
      <dc:creator />
      <dc:date>2013-07-11T13:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Associating subfield values to a linked table</title>
      <link>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563286#M1148225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't really get what you want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you select / click a role, the permissions shown are limited to that role. This is QV standard behaviour.&lt;/P&gt;&lt;P&gt;If you select a user, you should see all roles and their permissions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 14:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563286#M1148225</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-07-11T14:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Associating subfield values to a linked table</title>
      <link>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563287#M1148226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand that. The issue I have is that if a user has multiple roles, even after I subfield out the roles I cannot view the associated permissions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source data looks like this:&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="106"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;User&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="106"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Roles&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="106"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;John&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="106"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Administrator&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="106"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Jane&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="106"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Administrator; Controller; VP&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run subfield, I get new fields. Note the roles for Jane:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="73"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;User&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="109"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Role1&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="86"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Role2&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="63"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Role3&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="73"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;John&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="109"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Administrator&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="86"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="63"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="73"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Jane&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="109"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Administrator&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="86"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Controller&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="63"&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;VP&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I click the role that John has, I can view those permissions. If, however, I select the Controller role it does not display the permissions (in fact, it grays them all out). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, how do I view the permissions of the roles in the subfields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 14:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563287#M1148226</guid>
      <dc:creator />
      <dc:date>2013-07-11T14:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Associating subfield values to a linked table</title>
      <link>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563288#M1148227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, you created additional fields like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(Roles,';',1) as Role1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(Roles,';',2) as Role2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(Roles,';',3) as Role3,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try creating your subfields like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(Roles,';') as Role&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This creates multiple records per User / Role. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 14:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563288#M1148227</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-07-11T14:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Associating subfield values to a linked table</title>
      <link>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563289#M1148230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I do that I get an error that says field names must be unique. Here is what I put in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield(Roles, '; ',1) as Role,&lt;/P&gt;&lt;P&gt;Subfield(Roles, '; ',2) as Role,&lt;/P&gt;&lt;P&gt;Subfield(Roles, '; ',3) as Role&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried&lt;/P&gt;&lt;P&gt;Subfield(Roles, '; ') as Role,&lt;/P&gt;&lt;P&gt;Subfield(Roles, '; ') as Role,&lt;/P&gt;&lt;P&gt;Subfield(Roles, '; ') as Role&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and got the same error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 14:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563289#M1148230</guid>
      <dc:creator />
      <dc:date>2013-07-11T14:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Associating subfield values to a linked table</title>
      <link>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563290#M1148232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just once is enough. The subfield function will split the values and create a records for each value. What you get is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User, Role&lt;/P&gt;&lt;P&gt;John, Administrator&lt;/P&gt;&lt;P&gt;Jane, Administrator&lt;/P&gt;&lt;P&gt;Jane, Controller&lt;/P&gt;&lt;P&gt;Jane, Vp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 14:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associating-subfield-values-to-a-linked-table/m-p/563290#M1148232</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-07-11T14:55:52Z</dc:date>
    </item>
  </channel>
</rss>

