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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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 ?

 

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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