Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
MalcolmCICWF
Creator III
Creator III

Conditional Formatting for a Single Cell in a Chart

I have the below setup in my Qlikview report and I was wondering if there was a way to make a conditional formatting work so that only my Liquidation type displays a number with decimals. I want to keep all my other numbers rounded to a whole number.

QV Capture.JPG.jpg

1 Solution

Accepted Solutions
Nicole-Smith

Something like this for the expression:

if(Field = 'Liquidation', num(/*Your Expression*/, '#,##0.00'), num(/*Your Expression*/,'#,##0'))

Then leave the formatting for the expression on the Number tab set to "Expression Default".

View solution in original post

5 Replies
Nicole-Smith

Something like this for the expression:

if(Field = 'Liquidation', num(/*Your Expression*/, '#,##0.00'), num(/*Your Expression*/,'#,##0'))

Then leave the formatting for the expression on the Number tab set to "Expression Default".

MalcolmCICWF
Creator III
Creator III
Author

that work very well, thank you Nicole!

MalcolmCICWF
Creator III
Creator III
Author

So similar question on the formatting for specific cells in a chart...

How would you add anotehr formatting condition for a percentage in that expression? Lets say if Field='GROSS' then it is a percent. I cant seem to place it in correctly.

Nicole-Smith

If I understand what you're after...

if(Field = 'Liquidation', num(/*Your Expression*/, '#,##0.00'),

if(Field = 'GROSS', num(/*Your Expression*/, '##.##%'), num(/*Your Expression*/,'#,##0')))

MalcolmCICWF
Creator III
Creator III
Author

Dang, I was so close! Thanks again.