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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Sea_and_Anne
New Contributor III

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
Contributor III

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
Contributor III

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
Users online (3,586)