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
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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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