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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
drishya
Frequent Visitor

Stacked Column chart

How to show 'No Data' message in a Stacked Column chart when data is empty?

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi drishya,

 

From your description, you would like to see a scenario when make some selection in other visual, message "No Data" is showed.

 

Based my sample data, create measure to determine if show the message, and display the measure in Card visual over Stacked column chart.

Measure = IF(ISBLANK(SUM(Table1[CourseID])),"No Data","")

 

For example, when choose Class3 in Slicer, you can see the message  "No Data" showing below picture.

 

Untitled picture.png

 

 

 

 

 

 

 

 

 

 

Here is my pbix test file link: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EUAP3R5S79dBn1OGaZ...

 

If you have any other issue, please feel free to ask.

 

Best Regards,

Amy

View solution in original post

2 REPLIES 2
v-xicai
Community Support
Community Support

Hi drishya,

 

From your description, you would like to see a scenario when make some selection in other visual, message "No Data" is showed.

 

Based my sample data, create measure to determine if show the message, and display the measure in Card visual over Stacked column chart.

Measure = IF(ISBLANK(SUM(Table1[CourseID])),"No Data","")

 

For example, when choose Class3 in Slicer, you can see the message  "No Data" showing below picture.

 

Untitled picture.png

 

 

 

 

 

 

 

 

 

 

Here is my pbix test file link: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EUAP3R5S79dBn1OGaZ...

 

If you have any other issue, please feel free to ask.

 

Best Regards,

Amy

Thanks @v-xicai 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.