<?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 Need to relate one value in a field to multiple values in the same field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-to-relate-one-value-in-a-field-to-multiple-values-in-the/m-p/1333029#M836032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attaching both a sample excel sheet and Qlikview file for this question. In the script I have created a table using raw data from the excel file to create a multi-header pivot table. In the excel file, there is the Project/Resource column where there are both the name of the person and underneath the projects they are working on. Some share the projects since there can be multiple people on one project at a time. Column B is the identifier I created with VLOOKUP to distinguish between the name and project. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is to associate the name of the person with the following projects they are working on underneath. I was thinking of creating a new column somehow in the Result Table that I created in the script. This field could be called Name. Somehow if it read that if column B equals resource, it could enter the name into the 'Name' new field. And it would keep looping and entering the name until it came across resource again in column B and this would repeat until all the end of the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not exactly sure how this can be accomplished in the script so some help would be greatly appreciated! I had used code from this&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="4527" data-objecttype="102" href="https://community.qlik.com/docs/DOC-4527" style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7; background-color: #f2f2f2;" target="_blank"&gt;multi_header_pivot_import.qvw&lt;/A&gt; . If you have any questions please feel free to reach out!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Need to relate one value in a field to multiple values in the same field</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-relate-one-value-in-a-field-to-multiple-values-in-the/m-p/1333029#M836032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attaching both a sample excel sheet and Qlikview file for this question. In the script I have created a table using raw data from the excel file to create a multi-header pivot table. In the excel file, there is the Project/Resource column where there are both the name of the person and underneath the projects they are working on. Some share the projects since there can be multiple people on one project at a time. Column B is the identifier I created with VLOOKUP to distinguish between the name and project. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is to associate the name of the person with the following projects they are working on underneath. I was thinking of creating a new column somehow in the Result Table that I created in the script. This field could be called Name. Somehow if it read that if column B equals resource, it could enter the name into the 'Name' new field. And it would keep looping and entering the name until it came across resource again in column B and this would repeat until all the end of the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not exactly sure how this can be accomplished in the script so some help would be greatly appreciated! I had used code from this&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="4527" data-objecttype="102" href="https://community.qlik.com/docs/DOC-4527" style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7; background-color: #f2f2f2;" target="_blank"&gt;multi_header_pivot_import.qvw&lt;/A&gt; . If you have any questions please feel free to reach out!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-relate-one-value-in-a-field-to-multiple-values-in-the/m-p/1333029#M836032</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need to relate one value in a field to multiple values in the same field</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-relate-one-value-in-a-field-to-multiple-values-in-the/m-p/1333030#M836033</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;one possible solution to create the Name field could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_261724_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164684_QlikCommunity_Thread_261724_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14956622177495590 jive_text_macro" jivemacro_uid="_14956622177495590"&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Project/Resource], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Project/Resource Identifier],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([Project/Resource Identifier]='Resource',[Project/Resource],Peek(Name)) as Name&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="279879" data-objecttype="13" href="https://community.qlik.com/servlet/JiveServlet/download/2003-261724-1274894-279879/SampleExcel.xlsx"&gt;https://community.qlik.com/servlet/JiveServlet/download/1274894-279879/SampleExcel.xlsx&lt;/A&gt;&lt;SPAN&gt;] (ooxml, embedded labels, table is Main, filters(Remove(Row, Pos(Top, 1))));&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 21:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-relate-one-value-in-a-field-to-multiple-values-in-the/m-p/1333030#M836033</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-05-24T21:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need to relate one value in a field to multiple values in the same field</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-relate-one-value-in-a-field-to-multiple-values-in-the/m-p/1333031#M836034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you! works great for that!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 12:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-relate-one-value-in-a-field-to-multiple-values-in-the/m-p/1333031#M836034</guid>
      <dc:creator />
      <dc:date>2017-05-25T12:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need to relate one value in a field to multiple values in the same field</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-relate-one-value-in-a-field-to-multiple-values-in-the/m-p/1333032#M836035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you're welcome&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;glad it helped&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 18:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-relate-one-value-in-a-field-to-multiple-values-in-the/m-p/1333032#M836035</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-05-26T18:05:13Z</dc:date>
    </item>
  </channel>
</rss>

