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
manishcal116
Frequent Visitor

HTML Content Visual Override error message to custom error message

We are using HTML content visual to display image, we have more than 3 Lake image so the control when load it is error out. now customer ask to give some message please select some filter to reduce load and error will not come

 

error message not provide any meaning for business user i.e MDX script(142,35) calculation error message........

we need to override this error message with “ Please select a filter, because we have image more than 3 lakhs"

 

1 REPLY 1
dm-p
Super User
Super User

Hi @manishcal116,

 

HTML Content (and all custom visuals) act upon data changes relayed by the main Power BI window. In the event of query/resource issues (typically resulting in a visual with a grey background and details of the error), this is managed by Power BI and happens before the visual logic is triggered. In such a scenario, Power BI  sends no further information to the visual for it to execute any logic, so it would not be possible to intercept or override the message in HTML Content. If this is the case, this would be an idea request for MS and the core product to allow you to customize the error output for a visual.

 

Regards,

 

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




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 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