Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
Have the below measure. It returns the number 6 if conditions are met. This is what i want.
Solved! Go to Solution.
Arrh yes. I normally use ';' but then you should just adjust the measure:
scoreM = IF([8 Wks Con] = 7 && [8 Wks Avg] > 20, 6, IF([8 Wks Con] = 6 && [8 Wks Avg] < 20, 1, BLANK()))
Hi
How about the following:
ScoreM = VAR conscore = IF([8 Wks Con] = 7 && [8 Wk Avg] > 20,6; 6; IF([8 Wks Con] = 6 && [8 Wk Avg] < 20,1; 1; BLANK()) Return conscore
If it works then please mark it as the accepted solution.
@Anonymous Thks for reply.
Giving me syntax errors. Replace some ; with , maybe?
Arrh yes. I normally use ';' but then you should just adjust the measure:
scoreM = IF([8 Wks Con] = 7 && [8 Wks Avg] > 20, 6, IF([8 Wks Con] = 6 && [8 Wks Avg] < 20, 1, BLANK()))
Yeah, that works a treat. Thanks a million.
| User | Count |
|---|---|
| 54 | |
| 37 | |
| 27 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 69 | |
| 57 | |
| 38 | |
| 21 | |
| 21 |