Forum Discussion
BlakeHarrison
5 years agoQrew Captain
What is it that you're trying to do here:
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quick Base Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quick Base Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------
ZintJoseph
5 years agoQrew Captain
This is the formula. I am trying to measure %Complete again %Expected. The first line of code works but the other two do not
If(
[% Complete (Avg)] > [% Expected (Avg)],"<img src=\"https://images.quickbase.com/si/16/222-point_green.png\"/>",
[% Complete (Avg)]<=10 [% Expected (Avg)],"<img src=\"https://images.quickbase.com/si/16/223-point_yellow.png\"/>",
[% Complete (Avg)] >10 [% Expected (Avg)],"<img src=\"https://images.quickbase.com/si/16/221-point_red.png\"/>"
------------------------------
Joey Zint
------------------------------
If(
[% Complete (Avg)] > [% Expected (Avg)],"<img src=\"https://images.quickbase.com/si/16/222-point_green.png\"/>",
[% Complete (Avg)]<=10 [% Expected (Avg)],"<img src=\"https://images.quickbase.com/si/16/223-point_yellow.png\"/>",
[% Complete (Avg)] >10 [% Expected (Avg)],"<img src=\"https://images.quickbase.com/si/16/221-point_red.png\"/>"
------------------------------
Joey Zint
------------------------------
- BlakeHarrison5 years agoQrew CaptainOk, but what are you trying to state with this:
[% Complete (Avg)]<=10 [% Expected (Avg)]
Is this intended to be [% Complete (Avg)] is less than or equal to 10 * [% Expected (Avg)]?
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quick Base Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------- ZintJoseph5 years agoQrew Captain
No...... if % Complete is less than or equal to 10 compared to % Expected, show a yellow circle.
------------------------------
Joey Zint
------------------------------- BlakeHarrison5 years agoQrew CaptainOk, in Quick Base, you can't string calculations/comparisons together in that way. Quick Base is expecting something like:
IF([some field] comparison operators [comparison field or value], do this, else this)
With this statement - if % Complete is less than or equal to 10 compared to % Expected - is there another way you can state this? What do you mean by "compared to % Expected"? Are you wanting to show the yellow circle if the % Complete is less than the % Expected?
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quick Base Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------