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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Greg0ry
Helper II
Helper II

Count the number of rows with a condition on a measurement table

Hello, I would like to count the number of "clients indépedants" who have at least 1€ of "CA N". The “CA N” is a measuring table. Can you help me? THANKS

Greg0ry_0-1728908092299.png

 

4 REPLIES 4
Greg0ry
Helper II
Helper II

Hello, thank you for your feedback but the result is “empty”

Greg0ry_0-1729082141355.png

 

Anonymous
Not applicable

Hi @Greg0ry ,

 

What is data type of "CA N"? Please check it's data type is number. If the result is still blank, I recommend that you provide a pbix file (which does not contain sensitive data) or a demo file with the same problem. This will help us to investigate the issue better.

 

 

Best regards,

Mengmeng Li

 

 

Anonymous
Not applicable

Hi @Greg0ry ,

 

Here is another method for your reference. You can show the result on a Card.

Measure = COUNTROWS(FILTER(Table,[CA N]>=1))

 

Thanks for @Gabry reply, that's really helpful!

 

Best regards,

Mengmeng Li

Gabry
Super User
Super User

Hello @Greg0ry ,

 

based on the info you provided the measure could look like this:


Measure N.client=Calculate(distinctcount('Your table'[clients independent]), sum('your table'[CA N])>1)

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.