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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.