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
Sea_and_Anne
Helper I
Helper I

CountIf Table

Hello,
I have a project manager table with the kpi values per kpi type and owner.

I need to to a table that count the number of times that my values is less than 0, grouped by "Owner". Do you know which expression should i use?

 

 

CreateTable.png

 

 

 

 

Thank you

 

 

1 ACCEPTED SOLUTION
SabineOussi
Skilled Sharer
Skilled Sharer

Hi @Sea_and_Anne

 

Try using this measure

 

Number of negative = SUMX(VALUES(Table1[Owner]), CALCULATE(COUNTA(Table1[Value]), Table1[Value]<0))

Hope this helps!

View solution in original post

1 REPLY 1
SabineOussi
Skilled Sharer
Skilled Sharer

Hi @Sea_and_Anne

 

Try using this measure

 

Number of negative = SUMX(VALUES(Table1[Owner]), CALCULATE(COUNTA(Table1[Value]), Table1[Value]<0))

Hope this helps!

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.

Top Solution Authors