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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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

Greg0ry_0-1729082141355.png

 

Anonymous
Not applicable

Hi @Anonymous ,

 

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 @Anonymous ,

 

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 @Anonymous ,

 

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.