<?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: Subfield parts via variable in the loop function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215253#M621851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I saw it imediately but still, when I changed the code it works the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;For Each &lt;EM&gt;vTab&lt;/EM&gt; in 'Domain', 'Dataset', 'Fields', 'Files', 'Process'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;vIndex&lt;/EM&gt; = 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each &lt;EM&gt;vRole&lt;/EM&gt; in Subfield(FilteredFields, ',', $(vIndex))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left Join (DG_$(vTab))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %RaciTpID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS $(vRole),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RaciName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS $(vRole)Name,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RaciEmail&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS $(vRole)Email,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RaciShortName&amp;nbsp;&amp;nbsp;&amp;nbsp; AS $(vRole)ShortName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident DG_RACI_temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;vIndex&lt;/EM&gt; = &lt;EM&gt;$(vIndex)&lt;/EM&gt;+1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Next;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jan 2017 13:45:29 GMT</pubDate>
    <dc:creator>meyham2001</dc:creator>
    <dc:date>2017-01-23T13:45:29Z</dc:date>
    <item>
      <title>Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215248#M621846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;For Each &lt;EM&gt;vTab&lt;/EM&gt; in 'Domain', 'Dataset', 'Fields', 'Files', 'Process'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;vIndex&lt;/EM&gt; = 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each &lt;EM&gt;vRole&lt;/EM&gt; in Subfield(FilteredFields, ',', $(vIndex))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left Join (DG_$(vTab))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %RaciTpID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS $(vRole),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RaciName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS $(vRole)Name,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RaciEmail&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS $(vRole)Email,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RaciShortName&amp;nbsp;&amp;nbsp;&amp;nbsp; AS $(vRole)ShortName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident DG_RACI_temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;vIndex&lt;/EM&gt; = &lt;EM&gt;$(vIndex)&lt;/EM&gt;+1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Next;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Now, the point is: I have entities that go in &lt;EM&gt;vTab&lt;/EM&gt; variable and each entity can have one to all of the Roles (Responsible, Accountable, Owner...). RACI table is the lookup table that contains the list of people and any of these people can have one to all roles in one to all entities. I Concatinated all possible fields for all entities in a fields called &lt;SPAN style="font-family: courier new,courier;"&gt;Domain/Dataset/...&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FilteredFields. &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;They look like this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;DomainFilteredFields = 'DomainAccountable,DomainOwner,DomainResponsible'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;DatasetFilteredFields = 'DatasetAccountable,DatasetControl,DatasetInformed,DatasetResponsible,DatasetSupport'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;ProcessFilteredFields = 'ProcessAccountable,ProcessControl,ProcessInformed,ProcessOwner,ProcessResponsible'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Now I want to left join the data (Name, Email, Short name) to Domain/Dataset... for these people from RACI table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;I'm not getting any errors and it looks like the loop just goes through.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Any suggestions on what I could be doing wrong?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Thank you in advance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 11:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215248#M621846</guid>
      <dc:creator>meyham2001</dc:creator>
      <dc:date>2017-01-23T11:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215249#M621847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like &lt;EM&gt;vRole &lt;/EM&gt;is not getting any values because the fields that are left joined are named:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Domain, Dataset...&lt;/LI&gt;&lt;LI&gt;DomainName, DatasetName...&lt;/LI&gt;&lt;LI&gt;DomainEmail, DatasetEmail...&lt;/LI&gt;&lt;LI&gt;DomainShortName, DatasetShortName...&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And all entities get the same resault.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 11:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215249#M621847</guid>
      <dc:creator>meyham2001</dc:creator>
      <dc:date>2017-01-23T11:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215250#M621848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be helpful if you can share a sample to look at this. Difficult to see what the issue might be without getting to run the script. On you own, you can try to run this in debug mode and/or add trace statement to see the variables step by step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 12:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215250#M621848</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T12:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215251#M621849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In what table does the field &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;FilteredFields&lt;/SPAN&gt; reside?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 13:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215251#M621849</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-01-23T13:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215252#M621850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aren't you resetting vIndex to 1 on each vTab loop? Does it need to be above the 'inner' Next command for vRole?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 13:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215252#M621850</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2017-01-23T13:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215253#M621851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I saw it imediately but still, when I changed the code it works the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;For Each &lt;EM&gt;vTab&lt;/EM&gt; in 'Domain', 'Dataset', 'Fields', 'Files', 'Process'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;vIndex&lt;/EM&gt; = 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each &lt;EM&gt;vRole&lt;/EM&gt; in Subfield(FilteredFields, ',', $(vIndex))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left Join (DG_$(vTab))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %RaciTpID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS $(vRole),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RaciName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS $(vRole)Name,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RaciEmail&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS $(vRole)Email,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RaciShortName&amp;nbsp;&amp;nbsp;&amp;nbsp; AS $(vRole)ShortName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident DG_RACI_temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;vIndex&lt;/EM&gt; = &lt;EM&gt;$(vIndex)&lt;/EM&gt;+1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Next;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 13:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215253#M621851</guid>
      <dc:creator>meyham2001</dc:creator>
      <dc:date>2017-01-23T13:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215254#M621852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;FilteredFields is residing within each entity and it gets a name approriately:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;DomainFilteredFields&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;Dataset&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;FilteredFields&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 13:47:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215254#M621852</guid>
      <dc:creator>meyham2001</dc:creator>
      <dc:date>2017-01-23T13:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215255#M621853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might need you to upload an example. How exactly are you storing the possible fields you reference as FilteredFields? If you are putting them into separate variables you could call them in this way ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Set&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;DomainFilteredFields&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; = 'DomainAccountable,DomainOwner,DomainResponsible';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Set&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;DatasetFilteredFields&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'DatasetAccountable,DatasetControl,DatasetInformed,DatasetResponsible,DatasetSupport';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Set&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;ProcessFilteredFields&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'ProcessAccountable,ProcessControl,ProcessInformed,ProcessOwner,ProcessResponsible';&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;For&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Each&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vTab&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 'Domain', 'Dataset', 'Process'&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vIndex&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 1;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;For&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Each&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vRole&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Subfield&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vTab)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FilteredFields&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, ',', &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vIndex)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... but you've mentioned fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 14:22:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215255#M621853</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2017-01-23T14:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215256#M621854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an example of the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Domain and Dataset contain ID-s of the corresponding RACI people.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 14:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215256#M621854</guid>
      <dc:creator>meyham2001</dc:creator>
      <dc:date>2017-01-23T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215257#M621855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not use a Mapping load here?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-17760"&gt;What is a Mapping Load in Qlikview&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215257#M621855</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T15:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215258#M621856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you want to shorten the script.... Is that why you using a For Loop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215258#M621856</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T15:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215259#M621857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Sunny T has suggested, a mapping load is probably easier to implement and manage. However, could it also just be a case of creating your variables with a peek function after each table, eg ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;DomainFilteredFields&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('DomainFilteredFields'); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then call the variable with a prefix in your subfield ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff;"&gt;For&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Each&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vRole&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Subfield&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vTab)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FilteredFields&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, ',', &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vIndex)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that's what you're trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215259#M621857</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2017-01-23T15:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215260#M621858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using it because there can be more and more entities and they don't necesserily have all the roles. I'm not sure Mapping load can do it. And beside that, now I really want to know why this approach doesn't work when, I think, it should. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215260#M621858</guid>
      <dc:creator>meyham2001</dc:creator>
      <dc:date>2017-01-23T15:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215261#M621859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215261#M621859</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T15:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215262#M621860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The qvw you posted works for me -- that is, the Names are getting populated. Am I missing the objective? BTW, the QVW script doesn't match the script you posted. The posting is missing the variable in the FilteredFields reference which threw me off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What it the final result you are trying to achieve?&amp;nbsp; A simple solution may be to just crosstable load the data and link it to the user table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrossTable&amp;nbsp; (DomainRole, %RaciTpID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached example. If you want to single table, or you want the "Domain/Dataset" bit stripped off that's a simple addition. Let us know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 18:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215262#M621860</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-01-23T18:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Subfield parts via variable in the loop function</title>
      <link>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215263#M621861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great. Thank you all for the help. I know there are probably many ways how to work this through but I was wondering why my approach wasn't working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 18:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subfield-parts-via-variable-in-the-loop-function/m-p/1215263#M621861</guid>
      <dc:creator>meyham2001</dc:creator>
      <dc:date>2017-01-23T18:23:59Z</dc:date>
    </item>
  </channel>
</rss>

