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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
jjj
Contributor II
Contributor II

Transform Data to facilitate comparisons

Hi community, 

I faced this issue and can't figure out. 

My data are simple (left table) and I'd like to build the right table in a straigthtable-chart  (no pivot). Of course I dont' want to do this in the script.

The result is one row by Id with the city of Type=1, city of Type 2 and the associate value

I try to use P() without success.

Image1.png

Thanks for your help

Cheers !

JJJ

Labels (3)
1 Solution

Accepted Solutions
ogster1974
Partner - Master II
Partner - Master II

glad it solved your problem.

please mark solutions as correct or like to help others with similar issues in the future find this post and its answer.

 

View solution in original post

3 Replies
ogster1974
Partner - Master II
Partner - Master II

for a straight table try Only({<Type={1}>} City) as City1 etc...

ogster1974_0-1674297284948.png

 

jjj
Contributor II
Contributor II
Author

Thanks it works well !

ogster1974
Partner - Master II
Partner - Master II

glad it solved your problem.

please mark solutions as correct or like to help others with similar issues in the future find this post and its answer.