Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Change bar colour based on the conditional measures

Capture.PNG

Hi, I'm trying to colour the measure using epression

Exp: if(sum([crudedaily]) > Sum([crudeplan]), Sum([crudedaily])='green',Sum([crudeplan])= red())
But the colour not come out, is it my expresion wrong?
What I want is if the sum of crude daily > sum of crude plan , the bar colour is green , else, red.

8 Replies
shraddha_g
Partner - Master III
Partner - Master III

Expression should be,

if(sum([crudedaily]) > Sum([crudeplan]), green(),red())

shraddha_g
Partner - Master III
Partner - Master III

Also please share sample app to test

Anonymous
Not applicable
Author

This expression didn't work out, Capture.PNG


What I want is the measure for crude daily is green, and crude plan is red

Anonymous
Not applicable
Author

how to insert qvf file?

shraddha_g
Partner - Master III
Partner - Master III

shraddha_g
Partner - Master III
Partner - Master III

Share this sample file if possible to test some expressions

Anonymous
Not applicable
Author

Anonymous
Not applicable
Author

Hi i have sent the file