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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Vigneshrao
New Member

How to show no data when bar graph is not selected.

We have created this dashboard to show the data based on the graphs. But there is a default data shown and we want it to show empty or no data and we should see data only based on the bar graph. Please help

 

The left side table shows the employee data. The right side bar graphs are filters. When the bars are clicked, the left side table should show filtered data. But when nothing is clicked, the table should so blank. Instead it is showing the entire data.

 

Vigneshrao_1-1726729799019.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @Vigneshrao 

Based on your information, I create some sample table:

vyohuamsft_0-1726812166321.png

 

Create a table view and a stacked column view.

vyohuamsft_2-1726812575779.png

 

Then create a new measure to replace Resource Group field, try the following DAX expression:

 

NoDataMessage = 
IF(
    ISFILTERED('Table'[Resource Group]),
    MAX('Table'[Resource Group]),
    BLANK()
)

 

When I don't click on the bar chart, the table view is empty, and when I click on it, there is the corresponding data, here is my preview:

vyohuamsft_3-1726812732374.png

 

vyohuamsft_4-1726812743131.png

 

 

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

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

3 REPLIES 3
Anonymous
Not applicable

Hi, @Vigneshrao 

Based on your information, I create some sample table:

vyohuamsft_0-1726812166321.png

 

Create a table view and a stacked column view.

vyohuamsft_2-1726812575779.png

 

Then create a new measure to replace Resource Group field, try the following DAX expression:

 

NoDataMessage = 
IF(
    ISFILTERED('Table'[Resource Group]),
    MAX('Table'[Resource Group]),
    BLANK()
)

 

When I don't click on the bar chart, the table view is empty, and when I click on it, there is the corresponding data, here is my preview:

vyohuamsft_3-1726812732374.png

 

vyohuamsft_4-1726812743131.png

 

 

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

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

Selva-Salimi
Super User
Super User

@Vigneshrao 

 

it is not clear what you expect as output. give some example

The left side table shows the employee data. The right side bar graphs are filters. When the bars are clicked, the left side table should show filtered data. But when nothing is clicked, the table should so blank. Instead it is showing the entire data.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.