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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
user_root
Contributor
Contributor

How to get column name (pivot table or table ) on load script editor ?

Hi everyone, 

I want new dimension with pivot column names. 

Exm ; 

 

Example Table ; 

Headers:
LOAD * INLINE [
KPI, Header
KPI 1 &Chr(10)& CCC,KPI 1
'KPI 1'& Chr(10) & 'CCC(Region)', 'KPI 1'
'KPI 2'& Chr(10) & 'Warranty','KPI 2'
'KPI 2'& Chr(10) & 'Warranty (Region)','KPI 2'
'KPI 3'& Chr(10) & 'CC','KPI 3'
'KPI 3'& Chr(10) & 'CC (Region)','KPI 3',
'KPI 4'& Chr(10) & 'Accessories','KPI 4'

];

KPI : My Pivot Column Names

Header : Group Names

 

But  I don't get pivot column names on Load Script Editor  Headers Inline Table.

Can you help me pls? 

 

 

 

 
2 Replies
lorenzoconforti
Specialist II
Specialist II

What is not working? Can you share a clear example of what you are trying to achieve?

user_root
Contributor
Contributor
Author

Hi Lorenzo, 

 

Basicly, I tried  two table column names and  using nested if  clause with column name pivot table merge column header. 

 

So , it's solved. Thanks 🙂