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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Different format in field

Hi everyone,

Is there a way to have different number format on the same field like on the picture below.

What I want is PBT MARGIN and PAT MARGIN to have format in percent like '#.###%' and all other value to have format like '##.###'.

Should I solve this in script or I can manage this in chart.

1.png

Hope you can help me.

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

There´re two or more ways, PFA an example

Capturar.PNG.png

View solution in original post

3 Replies
PrashantSangle

Hi,

Yes you can do,

In expression you can write

Num(youExpression,'#.###%')

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
preminqlik
Specialist II
Specialist II

if(dimension='PAT MARGIN' or dimension='PBT Margin',

num([percentage expression,'#,###%'),

num(sum(Amount),'##.###'))

Clever_Anjos
Employee
Employee

There´re two or more ways, PFA an example

Capturar.PNG.png