This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 27 | |
| 27 | |
| 26 | |
| 19 | |
| 14 |
| User | Count |
|---|---|
| 52 | |
| 47 | |
| 39 | |
| 21 | |
| 20 |