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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
KumbharM
New Member

Custom Power BI Visual Performance Issue with Measure Values and Multi-Table Relationships

Hello,

 

We are currently developing a custom visual in Power BI. The visual contains a data field used for applying colors to datapoints. Previously, this field supported only categorical values, where different colors were assigned to datapoints based on their respective categories.

As part of a new requirement, we added support for measure values as well. The visual now works correctly with measure values under normal conditions.

 

However, we are facing an issue when relationships are created between two tables. If datapoints from both tables are used within the same visual and coloring is applied using measure values, the visual throws the following error:

 

"Query has exceeded the available resources."

 

If the relationship between the tables is removed and the visual contains datapoints from only a single table, the visual works correctly without any issues.

 

Could someone please help us understand why this is happening and suggest possible solutions or best practices to handle this scenario?

 

Thank you.

1 REPLY 1
tharunkumarRTK
Super User
Super User

@KumbharM 

 

is it happening even with builtin visuals? for example table visual?

 

If yes then I dont think it has anything to do with your custom visual code. 

 

I would suggest you to remove the query simulation limits in your power bi desktop. refer the below page for more info 

Set visual query limits in Power BI Desktop - Power BI | Microsoft Learn

 

Then using performance analyzer and DAX studio to check where exactly the query is breaching the limits either the memory limit or the time out limit. Accordingly try to optimize your DAX code or visual elements 

 

 

 

 

 

Connect on LinkedIn

read my blogs here: TechieTips

 

 

 








Did I answer your question? Mark my post as a solution!
If I helped you, click on the Thumbs Up to give Kudos.

Proud to be a Super User!


PBI_SuperUser_Rank@2x.png

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors