Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Happy New year everyone, I hope everyone had a good time.
Could someone please advise what am I doing wrong in the below expression.
if([Trust Spend] = "Actual Trust Spend",Green(), Red())
The “Actual Trust Spend” is a label not a field name and I keep getting : RGB(0,128,0) as an answer.
You sure can, but what you need to do is to use your expression as a background color expression and not just the main expression. Does that make sense?
Happy New Year dear!
Try with Single Quotes instead of Double " "
=if([Trust Spend] = 'Actual Trust Spend',Green(), Red())
Regards
Mustaq
Can you attach the sample data with your desired output.
it would be easy to understand and solve.
Regards
Mustaq
If Actual Trust Spend is a column label, same as Trust Spend. Should be like this:
if([Trust Spend] = [Actual Trust Spend],Green(), Red())
Good luck!
Thanks for your input
The [Actual trust spend] is a label name in the chart properties and am not getting the result am looking for.
You sure can, but what you need to do is to use your expression as a background color expression and not just the main expression. Does that make sense?