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: 
Anonymous
Not applicable

Transpose

Based on the Flag active status we need to fill the appropriate description columns like the below given output. It’s like transpose of rows to column based on a key value.

For example

Input file:

Id

Flag1

Flag2

Flag1_desc1

Falg1_desc2

Flag2_desc1

Flag2_desc2

1

1

0

abc

abc

 

 

2

0

1

 

 

abc

abc

3

1

1

abc

abc

abc

abc

Output:

Id

Flag

Desc1

Desc2

1

Flag 1

abc

abc

2

Flag2

abc

abc

3

Flag1

abc

abc

3

Flag2

abc

abc

 

 

Thanks in advance

Labels (1)
  • v7.x

1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@saravanan_ehkn ,check0683p000009M8W2.png0683p000009M8VU.png0683p000009M8W7.png0683p000009M8GH.png the below solution.

 

View solution in original post

3 Replies
manodwhb
Champion II
Champion II

Anonymous
Not applicable
Author

hi manohar,

 

   Thanks for your reply but actually it is not transpose of rows to column  some logic is there can you please help me out


29_day.csv
manodwhb
Champion II
Champion II

@saravanan_ehkn ,check0683p000009M8W2.png0683p000009M8VU.png0683p000009M8W7.png0683p000009M8GH.png the below solution.