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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
srujanaponnuru
Creator
Creator

Changing number formatting for each dimension field value

Hi,

 

I have a field called Trip and the values are:

Trip

ABC,

123,

xyz,

etc

i have pulled Trip field as a dimension in a straight tbale in qliksense.

and i have written few measures like sum(Sales)

But now for each dimension value for example i need ABC in % format and 123 in number format.....

 

Please help to achieve this

Labels (1)
1 Reply
QFabian
MVP
MVP

Hi @srujanaponnuru , try this for expression :

num(sum(1),if(Trip = 'ABC','#.##0','#.##0%'))

And set 'measure expression' as number formatting :

QFabian_0-1606157941672.png

 

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.