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! Learn more
Good evening,
I have a table with the following columns/rows and I'm looking for a way to create the new column overall status. I know how to do a check row by row but now I need to check all the rows of one app together. Only when all rows for app Example1 have status 6 the overall status column should show OK and for Example2 you see that a number of values is not 6 and therefore should show NOK.
Thanks in advance for any guidance.
Solved! Go to Solution.
Try a new column =
var _cnt = calculate(distinctcount(Table[Status]), filter(table, [app] = earlier([app]) ) )
return
if(_cnt=1, "OK", "NOK")
Hello,
Im a trying to do something very similar but sometimes my dates which are equal to your status in this case are blank and when it is the case I would like to be NOK to.
Can you please me help for this case ?
Thanks in advance
Try a new column =
var _cnt = calculate(distinctcount(Table[Status]), filter(table, [app] = earlier([app]) ) )
return
if(_cnt=1, "OK", "NOK")
Hi,
This is very useful, thank you.
The first line works fine for me, but when I try the return and if, i get a syntax error. As soon as I type return it redlines.
Thanks a lot!
 
					
				
				
			
		
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.
 
            | User | Count | 
|---|---|
| 88 | |
| 49 | |
| 37 | |
| 31 | |
| 30 |