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

Need help with Distinctcount

Hello,

I am using distinctcount to summarize data and it gives me an error and says it exceeded the resources. Let me give details.

Below is my measure 

Clients=summarize(

clients,[client_number],[customer_number],[Year], 

"Clientcount", distinctcount(clients[id])

)

thats my measure table and I am using another measure to get the count where it is greater than 1.

otheclientmeasure=If(values(clients[Clientcount]>1,"yes","")

 

when I add above measure on the matrix for some clients it gives me exceeded resource. Can you please help me how can I fix this issue?

 

Thank you.

1 REPLY 1
FreemanZ
Super User
Super User

hi @davehardikkumar 

Please try to provide and focus on your data sample and expected result out of that. All others are secondary.

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.