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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Power BI - How to show custom message in the chart when there is no data

Hello All,

 

We have a requirement to show a custom message over the chart if there is no data for the charts to display. E.g.

When SalesAmt is 0 for all the records then Chart should display some message. Our Customer do not want to show blank chart in case there is not there for a specific criteria:

we.png

Kindly suggest how to resolve the issue.

Thanks,

PBI V2

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Anonymous You can use dax measure for the message like :

Zero_Mwssage = if([Total QTY]=0,"The value is 0" , "")
And put it on the card.
The card is blank when the value is not 0 , so you can put it on any visual that you want
I attached the file file the example
Ritaf1983_1-1698421082082.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @Anonymous You can use dax measure for the message like :

Zero_Mwssage = if([Total QTY]=0,"The value is 0" , "")
And put it on the card.
The card is blank when the value is not 0 , so you can put it on any visual that you want
I attached the file file the example
Ritaf1983_1-1698421082082.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Anonymous
Not applicable

Hello @Ritaf1983 

 

Thanks for your solution. With this , we are able to show custom message.

 

Thanks,

PBI V2

@Anonymous 
Glad to help 🙂

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors
Top Kudoed Authors