Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
garfieldm
Contributor
Contributor

Dynamically change Label based on column in use

Hello,

I have a line graph in Qlik Sense like this:

garfieldm_0-1609948115602.png

For this line graph, my measure is as follows:
IF(GetSelectedCount([DimensionName]) = 1, SUM([TDP UV]), SUM(DISTINCT [TDP TI UV]))

This basically means that if there is filter selected with only one value, then display SUM([TDP UV]) or else display SUM(DISTINCT [TDP TI UV])).

Currently, my line graph displays label value as "TDP UV" irrespective of the column in use. Is there a way where I can dynamically change label based on the current column?

Labels (1)
3 Replies
garfieldm
Contributor
Contributor
Author

Thanks for this. However, is there any other way to do it without the extensions? I cannot install extensions in my organization's qlik account.

Anil_Babu_Samineni

Check this once If you are looking similar to this and explain the needs so that we may check the possibility

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful