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
sagarsahoo_123
Helper IV
Helper IV

Message should be displayed for Blank Graph

Hello Team,

I am having trouble to display the message for the Blank visualisation. Attaching the graph which is showing nothing for any specific customer selection in the slicer. My requirement is if there is no data for this selection, it will show message like" No Data Available".

sagarsahoo_123_0-1666090980180.png

Requirement is to display message for Blank visual like below.

sagarsahoo_123_1-1666091005183.png

Attaching the PBIX file link here for reference. Please help me to resolve this.

https://1drv.ms/u/s!AqNLfMSghxwyhgY6NBS9rDX05xon?e=ub5dx5

It would be highly appreciated for your help on the above topic.

 

Regards,

Sagar

 

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @sagarsahoo_123 

 

You can try the following methods.

Sample data:

vzhangti_0-1666163135054.png

 

Measure = CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),[Type]=SELECTEDVALUE('Table'[Type])))

 

Choosing nothing is like this.

vzhangti_1-1666163196895.png

Measure:

 

Text = IF(SELECTEDVALUE('Table'[Type])=BLANK(),"No Data Available")

 

Put this measure in the Card and close the title of the Card. Set the transparency of the card to 100% again.

vzhangti_2-1666163320154.png   vzhangti_3-1666163626144.png

Set the font color of the Card, set to white when the slicer is selected, and set to black when not selected.

 

Color = IF(SELECTEDVALUE('Table'[Type])=BLANK(),"Black","White")

 

vzhangti_4-1666163848897.png

Place the Card above the view, preferably not obscuring the original view.

vzhangti_7-1666164008371.pngvzhangti_6-1666163953524.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

 

View solution in original post

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @sagarsahoo_123 

 

You can try the following methods.

Sample data:

vzhangti_0-1666163135054.png

 

Measure = CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),[Type]=SELECTEDVALUE('Table'[Type])))

 

Choosing nothing is like this.

vzhangti_1-1666163196895.png

Measure:

 

Text = IF(SELECTEDVALUE('Table'[Type])=BLANK(),"No Data Available")

 

Put this measure in the Card and close the title of the Card. Set the transparency of the card to 100% again.

vzhangti_2-1666163320154.png   vzhangti_3-1666163626144.png

Set the font color of the Card, set to white when the slicer is selected, and set to black when not selected.

 

Color = IF(SELECTEDVALUE('Table'[Type])=BLANK(),"Black","White")

 

vzhangti_4-1666163848897.png

Place the Card above the view, preferably not obscuring the original view.

vzhangti_7-1666164008371.pngvzhangti_6-1666163953524.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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