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: 
jordicastilloga
Contributor II
Contributor II

ColumnNo() as horizontal Dimension

Hi,

I'm trying to build a pivot table with two dimensions:

- Dimension 1: vertical with a ValueList. 

- Dimension2: horizontal with the Customer Code. But, instead of the Customer Code, I want the column number as a header.   So the dimension I think I should use is something like this: dual(ColumnNo(),Customer_Code).

Unfortunately, its not working.

Does anyone know how to do it?

Thanks!!!

Jordi. 

 

Labels (2)
1 Solution

Accepted Solutions
sunny_talwar

How about this?

Aggr(Dual(RowNo(), Customer_Code), Customer_Code)

View solution in original post

2 Replies
sunny_talwar

How about this?

Aggr(Dual(RowNo(), Customer_Code), Customer_Code)
jordicastilloga
Contributor II
Contributor II
Author

Thank you very much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It works!!!!!