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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors