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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
fmazzarelli
Partner - Creator III
Partner - Creator III

Pivot table: header

Hi Community,

how to change the column heading in relation to a value ?


Example header
if 1 = Cost
if 2 = Revenue
if Total = 3

3 Replies
robert_mika
MVP
MVP

Do you want use variable to change the field in your table or just the heading?

how is the 1,2,3 defined?

settu_periasamy
Master III
Master III

Hi,

Try it in your calculated dimension..

Pick(Match(Field,'Cost','Revenue','Total'),'Cost','Revenue','Total')

SreeniJD
Specialist
Specialist

Try this..

Pick(Match(Dimension,'1','2','3'),'Cost','Revenue','Total')

Sreeni