Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Billy_u
Creator
Creator

Format range of values ​​in the scale

Hi everyone, I would like to understand how I can change a scale value of a chart only in a certain filter, thi : =if([field]='value of field', num(sum(Value)/sum(total Value), '#,##0%')) have you suggest? thx, Billy
2 Replies
sagarjagga
Creator
Creator

Hi Billy,

You can Get the selected filter value by GetFieldSelections function and then you can compare that with you field , 

Like if([field]=GetFieldSelection(Field), num(sum(Value)/sum(total Value), '#,##0%'))

 

https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunc...

 

 

Billy_u
Creator
Creator
Author

I change the value of the scale as a percentage, but it also changes it for the other measurements in the filter object =if ([field] = GetFieldSelections ('value field'), num (sum (Value), '0%'))