I have an expression that I use to get a value based on a set of threshholds set in a table. These values are as follows:
ADH_TEAM_RATING_MIN ADH_TEAM_RATING_MAX ADH_TEAM_SCORE
0.001 0.8999 1
0.9 0.9299 2
0.93 0.9499 3
0.95 0.9599 3.5
0.96 0.9699 4
0.97 1 5
The expression is based on a percentage that is rounded to 2 digits that fall between these values. It is as follows:
RATING: Max(IIf([ADH_PCT1] Between [ADH_TEAM_RATING_MIN] And [ADH_TEAM_RATING_MAX],[ADH_TEAM_SCORE]))
Im not getting an error, the expression however returns nothing for 0.95. Any other value returns the accurate score. But 0.95 is NULL every time so 3.5 never shows up. Any help would be greatly appreciated TIA.
ADH_TEAM_RATING_MIN ADH_TEAM_RATING_MAX ADH_TEAM_SCORE
0.001 0.8999 1
0.9 0.9299 2
0.93 0.9499 3
0.95 0.9599 3.5
0.96 0.9699 4
0.97 1 5
The expression is based on a percentage that is rounded to 2 digits that fall between these values. It is as follows:
RATING: Max(IIf([ADH_PCT1] Between [ADH_TEAM_RATING_MIN] And [ADH_TEAM_RATING_MAX],[ADH_TEAM_SCORE]))
Im not getting an error, the expression however returns nothing for 0.95. Any other value returns the accurate score. But 0.95 is NULL every time so 3.5 never shows up. Any help would be greatly appreciated TIA.