Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.