Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Vinod
Creator
Creator

How to Map each value with other Values

Hi all

Source Table:

  

REG NOVALUE
A120171103-E0023-0
20171110-E0023-0
B120161125-E0034-0
20171130-30022-0
C120170717-C0036-0
20180226-E0052-0
D120160510-E0049-0
20160519-C0043-0
20160527-E0056-0
E120170330-E0059-0
20170824-A0018-0
20170922-30011-0
20171025-E0039-0

Above I have created one table and in that tables i want to Map the REG NO with each value of the VALUE column. Means  I want output like below mentioned table.        

  

REG  NOVALUE
A120171103-E0023-0
A120171110-E0023-0
B120161125-E0034-0
B120171130-30022-0
C120160510-E0049-0
C120160519-C0043-0
C120160527-E0056-0
D120160510-E0049-0
D120160519-C0043-0
D120160527-E0056-0
E120170330-E0059-0
E120170824-A0018-0
E120170922-30011-0
E120171025-E0039-0

Please anyone reply     

          

Regards,

Vinod              

32 Replies
tamilarasu
Champion
Champion

Great Vinod Sir. Please close the thread by marking correct and helpful answers. Have a nice week!!

Vinod
Creator
Creator
Author

Hi sir,

In my output some values are displaying two times.

tamilarasu
Champion
Champion

Could you post snapshot of input and wrong output?

Vinod
Creator
Creator
Author

INPUT.PNGOUTPUT.PNG

FTR NO of Reg No-D and F are showing two times in output.

tamilarasu
Champion
Champion

I am not able to replicate the issue. Could you please attach the excel file here?

Note: Don't use your inbox option to post a sample file. It will not show the attach option. For more details, please have a look at the below link.


Uploading a Sample

Anil_Babu_Samineni

I believe DISTINCT will resolve this time?

If below one is working then just add DISTINCT to LOAD statement?

Data: 

LOAD  DISTINCT

[REG NO], 

SubField(VALUE, CHR(10)) as VALUE 

From Excel;

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
tamilarasu
Champion
Champion

Anil - I want to know the reason for duplicate issue. Let us wait for the sample file.

Vinod
Creator
Creator
Author

I can't see the Use advanced Editor option on my scrren.

Capture.PNG

Vinod
Creator
Creator
Author

Whatever the screen shot i shown above that is excel data source. Please check and clarify me.

Thanks,

Vinod

Vinod
Creator
Creator
Author

Ok. I will send u.