Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
POWER_MI
Post Patron
Post Patron

Need help

Hi, 

is it possible to define mesure to use on power BI to calculate 

 

The number of row wich egalement on table at status ='' OK"

 

the table ( excel data base)  have rows:

Project  ( project 1, project 2....

users

status ( Ok, KO, NO..)

..

 

the objectif is to have on power bi dashbord 

 

                   Project 1                                        Project 2       .....

ROWS         Number of rows ( Status OK)        Number of rows ( Status OK)

can you send mesure to take thanks

all rows of project by project which having status OK( Number of rows OK project by projetct)

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @POWER_MI,

#1, You can put '+0' to your formula to force display all rows:

 

Nombre K0 =
CALCULATE ( COUNTA ( 'Feuil1'[status] ), 'Feuil1'[status] IN { "K0" } ) + 0

 

#2, I'm not so clear about your description, did you means only export projects that contain particular status? 

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
manikumar34
Solution Sage
Solution Sage

@POWER_MI , 

Not clear, 

 

use something like this and check the Answer. 

 

If(table[Status]="Ok",COUNT(table[Project]),0)

 

after writing this measure use Matrix table to show Project wise count.

 

regards, 

Manikumar

If you think this is helpful Accept as a soltion and leave a like.





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




thanks for answer

i used this mesure and it work i have just not able to take blank or empty rows

Nombre K0 =
CALCULATE(COUNTA('Feuil1'[status]), 'Feuil1'[status] IN { "K0"})
 
project 1 project 2 project 3
OK 5 2
KO if not row this row will not displayed on results so how to add also '0' Ko row for projects
Unknown

 

 

also for Project 1 we have 5 OK   how to export just this 5 Rows ?

 

Anonymous
Not applicable

Hi @POWER_MI,

#1, You can put '+0' to your formula to force display all rows:

 

Nombre K0 =
CALCULATE ( COUNTA ( 'Feuil1'[status] ), 'Feuil1'[status] IN { "K0" } ) + 0

 

#2, I'm not so clear about your description, did you means only export projects that contain particular status? 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors