I want an green up arrow image to appear if a value is above a calculated number. If the value is below the calculated number, I want a red down arrow to appear.
This seem like it should work, but it always displays the first image, no matter what the number is:
If(current_qtr_revenue_variance<current_qtr_revenue_projection,image(“http://PATH/images/red%20down.png",30,30),image("http://PATH/images/green%20up.png ”,30,30))
Any suggestions?
Dear @Karen_Labenz , welcome to the Coda Maker Community
My first impression is that the it has to do with the IF statement.
The picture to be displayed if the condition is NOT met is missing in your formula
Pch
May 6, 2022, 10:33am
3
Hi @Karen_Labenz and Welcome to the Community !
How are your current_qtr_revenue_variance
and current_qtr_revenue_projection
gathered/calculated ?
Variance: current_qtr_revenue_actual-current_qtr_revenue_projection
Quarterly revenue: Sum([Revenue By Product].[Q2 2022 Revenue])
Q2 Target Revenue: [Quarterly Revenue Projections].Filter([Target Period]=“Q2 2022”).[Expected Revenue]
Thanks!
Do you know of any way to if/then/else?
Dear @Karen_Labenz ,
To be able to support it will be helpful if you shared a copy of your doc.
In case the doc contains confidential information, please replace it with fake records.
Here is the doc: Dashboard sandbox
Thanks!
Dear @Karen_Labenz ,
Thanks a lot sharing the doc.
You should compare the target revenue to the actual revenue generated
The difference is only a calculated amount!
I have added two screenshots from both variants for your kind reference.
3 Likes
Thank you so much! I really appreciate the help!
system
Closed
May 10, 2022, 3:26pm
10
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.