<?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 How to combine three fields values into one field ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565793#M741332</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've 3 fields for managers as shown below;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="1.PNG" style="width: 967px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9562iD20E7D89156FD253/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;How can I combine Controls_Manager, Software_Manager, Mechanical_Manager into one new field in the load script?&lt;/P&gt;&lt;PRE&gt;Cost_temp:
LOAD 
[Project Number]&amp;amp;'-'&amp;amp;Region AS Link_Key,
[Project Number], 
Region, 
[Cost Area],
Var,
Quoted					
FROM [C:\Bhavesh\Qvd Files\VIEW_WSR_SAP_ORA_WBS_COST.qvd](qvd);

right join (Cost_temp)
LOAD 
PROJECT_NUMBER&amp;amp;'-'&amp;amp;REGION AS Link_Key,
D_PROJECT_KEY, 														
PROJECT_NUMBER, 												
MECHANICAL_MANAGER,															
SOFTWARE_MANAGER, 														
CONTROLS_MANAGER,														
REGION 																			
FROM [C:\Bhavesh\Qvd Files\DIM_PROJECT.qvd] (qvd);

Cost:
NoConcatenate
Load Distinct
*,
Var/Quoted as [Budget flag]
Resident Cost_temp;
Drop table Cost_temp;
Exit Script;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the file for reference&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Bhavesh&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:56:07 GMT</pubDate>
    <dc:creator>bhaveshp90</dc:creator>
    <dc:date>2024-11-16T03:56:07Z</dc:date>
    <item>
      <title>How to combine three fields values into one field ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565793#M741332</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've 3 fields for managers as shown below;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="1.PNG" style="width: 967px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9562iD20E7D89156FD253/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;How can I combine Controls_Manager, Software_Manager, Mechanical_Manager into one new field in the load script?&lt;/P&gt;&lt;PRE&gt;Cost_temp:
LOAD 
[Project Number]&amp;amp;'-'&amp;amp;Region AS Link_Key,
[Project Number], 
Region, 
[Cost Area],
Var,
Quoted					
FROM [C:\Bhavesh\Qvd Files\VIEW_WSR_SAP_ORA_WBS_COST.qvd](qvd);

right join (Cost_temp)
LOAD 
PROJECT_NUMBER&amp;amp;'-'&amp;amp;REGION AS Link_Key,
D_PROJECT_KEY, 														
PROJECT_NUMBER, 												
MECHANICAL_MANAGER,															
SOFTWARE_MANAGER, 														
CONTROLS_MANAGER,														
REGION 																			
FROM [C:\Bhavesh\Qvd Files\DIM_PROJECT.qvd] (qvd);

Cost:
NoConcatenate
Load Distinct
*,
Var/Quoted as [Budget flag]
Resident Cost_temp;
Drop table Cost_temp;
Exit Script;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the file for reference&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Bhavesh&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565793#M741332</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2024-11-16T03:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine three fields values into one field ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565797#M741333</link>
      <description>&lt;P&gt;Is this what you are looking for:&lt;/P&gt;&lt;P&gt;write the below code in your script window:&lt;/P&gt;&lt;P&gt;Controls_Manager &amp;amp;'|' &amp;amp;Software_Manager, &amp;amp;'|' &amp;amp;Mechanical_Manager as New_Field&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 13:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565797#M741333</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2019-04-05T13:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine three fields values into one field ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565802#M741334</link>
      <description>&lt;P&gt;Hi, I'm looking to combine all the values into one field, I don't want to concatenate them. Like as shown below&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;U&gt;&lt;STRONG&gt;Manager&lt;/STRONG&gt;&lt;/U&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Tautges Steve&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Alfredson Tom&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Gill Andrew&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;UNKNOWN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jones Michael&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Tautges Steven&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;N/A&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 05 Apr 2019 13:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565802#M741334</guid>
      <dc:creator>bhaveshp90</dc:creator>
      <dc:date>2019-04-05T13:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine three fields values into one field ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565811#M741337</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Can you give us a clearer example of what each qvd contains and the result you hope to achieve? It would be easier to help you. regards!!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 13:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565811#M741337</guid>
      <dc:creator>Marcos_rv</dc:creator>
      <dc:date>2019-04-05T13:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine three fields values into one field ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565814#M741338</link>
      <description>&lt;P&gt;Hope I am understanding this in the correct way. You want a manager field which is the combination of three manager fields. I think you want this as a separate table. Here is a sample script:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;BR /&gt;MECHANICAL_MANAGER,SOFTWARE_MANAGER,CONTROLS_MANAGER,Amount&lt;BR /&gt;John,Smith,Kevin,1000&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Managers:&lt;BR /&gt;Load distinct&lt;BR /&gt;MECHANICAL_MANAGER as Manager&lt;BR /&gt;Resident Data;&lt;BR /&gt;Concatenate&lt;BR /&gt;LOAD distinct&lt;BR /&gt;SOFTWARE_MANAGER as Manager&lt;BR /&gt;Resident Data;&lt;BR /&gt;Concatenate&lt;BR /&gt;LOAD distinct&lt;BR /&gt;CONTROLS_MANAGER as Manager&lt;BR /&gt;Resident Data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now your Manger field will have all the mangers. Hope this helps..&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 13:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565814#M741338</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2019-04-05T13:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine three fields values into one field ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565858#M741339</link>
      <description>&lt;P&gt;Perhaps like this? But, one question...does it need to be joined to the table Cost (by Project key or Id or other)? Just add that field to each of the load statements below;&lt;/P&gt;&lt;P&gt;Combined:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;Load distinct&lt;BR /&gt;CONTROLS_MANAGER as New_Manager&lt;BR /&gt;Resident Cost&lt;BR /&gt;where not isnull(CONTROLS_MANAGER);&lt;/P&gt;&lt;P&gt;Concatenate(Combined)&lt;BR /&gt;Load distinct&lt;BR /&gt;MECHANICAL_MANAGER as New_Manager&lt;BR /&gt;Resident Cost&lt;BR /&gt;where not exists(New_Manager,MECHANICAL_MANAGER)&lt;BR /&gt;and not isnull(MECHANICAL_MANAGER);&lt;/P&gt;&lt;P&gt;Concatenate(Combined)&lt;BR /&gt;Load&lt;BR /&gt;SOFTWARE_MANAGER as New_Manager&lt;BR /&gt;Resident Cost&lt;BR /&gt;where not exists(New_Manager,SOFTWARE_MANAGER)&lt;BR /&gt;and not isnull(SOFTWARE_MANAGER);&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;_N/A_ 1&lt;BR /&gt;Alfredson Tom 1&lt;BR /&gt;Gill Andrew 1&lt;BR /&gt;Jones Michael 1&lt;BR /&gt;Tautges Steve 1&lt;BR /&gt;Tautges Steven 1&lt;BR /&gt;UNKNOWN 1&lt;/P&gt;&lt;P&gt;V/r,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 14:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-combine-three-fields-values-into-one-field/m-p/1565858#M741339</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2019-04-05T14:57:05Z</dc:date>
    </item>
  </channel>
</rss>

