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: 
dhborchardt
Partner - Creator
Partner - Creator

Pivot Table Label Expresion

I would like to show the Sum  of vacation days for each department and keep it static like in the example below. I am guessing I need to do a expression in the label. Something like:  =Department & " = " & Sum(xxxxxxxx).    x = the sum of all the employees in the department featured. Maybe there is a more elegant way to do this?

Pivot Table
DepartmentNameVacation Days
Finance = 22Bob11
Sue4
Phil7
Sales = 16Joe5
Kim2
Bill9
Shipping = 14Jane8
Doug1
Jill5
1 Solution

Accepted Solutions
Gysbert_Wassenaar

You'll need a calculated dimension: =[Department] & ' = ' &  aggr(sum(xxxxx),Department). It's not very elegant, but it's the only way. You can't create dynamic labels for (sub)totals for individual dimension values.


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar

You'll need a calculated dimension: =[Department] & ' = ' &  aggr(sum(xxxxx),Department). It's not very elegant, but it's the only way. You can't create dynamic labels for (sub)totals for individual dimension values.


talk is cheap, supply exceeds demand