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: 
Not applicable

conditional label for subtotal

Hi All,

I have an application where I have a pivot table ,is it possible to put a conditional subtotal(ie..label names) for pivot table.

Thanks & Regards,

Reena Abraham

6 Replies
srchilukoori
Specialist
Specialist

you can write expressions in the labels fields for each individual dimension on the pivot tables.

label settings.png

Not applicable
Author

Hi,

I have tried that but it is only working with selections. Without Selection its showing only Total ,not evaluating the Expression.

Thanks,

Reena

Not applicable
Author

its only work on selection.

If you want to show without selection, write in the script like 'If(GetSelectedCount(currency)=0,'All',GetFieldSelections(currency))'

Hope you understand

Not applicable
Author

Hi,

I had given the expression on Presentation Tab, for labels for Total. Hope you have mean that. Then also its working with selections. else its showing as 'All' based on the expression.

I need to show without selections dynamic labels.

Thnkss...

Not applicable
Author

Can you share your app. then i will work on it for you

srchilukoori
Specialist
Specialist

You need to check the option "always one selected value" on the currency field.