Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Judicael
Partner - Contributor III
Partner - Contributor III

Transform Line to colum

Hello,

 

How can I tranform tab Data to Tab RESULT in (Excel File) automatically mode with for next if it is necessary.

Data in attachment.

Thanks for your help,

 

Regards,

Labels (1)
1 Solution

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

Am i right in guessing you want all the rows to be split with '[Actif]'

Use something like below while loading the data

load *
where PROFILES <>''
;
load id,
SubField(trim(PROFILES),' [Actif]')as PROFILES
;
LOAD id,
PROFILES
FROM
[C:\Users\Downloads\Data.xls]
(biff, embedded labels, table is Data$);

 

result

Capture.PNG

View solution in original post

3 Replies
Judicael
Partner - Contributor III
Partner - Contributor III
Author

 
dplr-rn
Partner - Master III
Partner - Master III

Am i right in guessing you want all the rows to be split with '[Actif]'

Use something like below while loading the data

load *
where PROFILES <>''
;
load id,
SubField(trim(PROFILES),' [Actif]')as PROFILES
;
LOAD id,
PROFILES
FROM
[C:\Users\Downloads\Data.xls]
(biff, embedded labels, table is Data$);

 

result

Capture.PNG

Judicael
Partner - Contributor III
Partner - Contributor III
Author

Thanks you very much!!