Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Sierk
Contributor
Contributor

one sheet with multiple tables within

Dear Anybody, 

I have troubles uploading the attached Excel sheet in the right matter. I would like to have a row with the unique number of the one who worked in week 1 and in the same row the name of the client where he/she worked for. The people who worked for one client differs every time. I tried to use the peek function. But I can only return one value. I cannot repeat this command. 

 

I tried: 


IF(LEN("Naam")>1 and (len(peek("Naam")<0)), Peek(Test)) as Test

 

 

Uren overzicht   Week 1
     
Unique numberNaamWorked hoursSick 
Client A    
22473Pietje3200
22470Klaasje4000
Client B    
21861Tom4000
Client C    
15339Rob4000
Client D    
19397Anne3900
20913Roos3800
50734Jellen4000
18692Kees1600
20816Tom1600
22010Jaap1600
50737Kees3200
50735Cheesy4000
18464Remco4000
11717Rarko4000
20721Jesse2900
21476Geert4000
16340Annie4000
18411Annemarie3900
22481Blabla3900
Client E    
16956X2400
17327Y36,500
18182Z4000
15442D2400
9316B4000
20248E38,500
20512F4400
20512G4000

 

 

 

 

 

 

 

 

 

 

Labels (1)
2 Replies
MayilVahanan

Hi @Sierk 

I think, you want to keep client name as separate column?. In that case, try like below

Temp:

LOAD *, if(Len(Trim(Naam))=0, [Unique number], Peek('ClientName')) as ClientName from yoursource;

NoConcatenate

Final:
Load * Resident Temp Where IsNum([Unique number]);

DROP Table Temp;

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Sierk
Contributor
Contributor
Author

Dear Mr Vahanan, 

It worked! Thank you very much! I thought I tried everything already but apparently not! 

 

Kind regards, 

 

Sierk