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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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