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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
ferdiakinci
Frequent Visitor

matrix hide

There is a matrix where I bring foreign currency based amounts. If all columns are empty, the matrix should not display. how can I do that

3 REPLIES 3
rajendraongole1
Super User
Super User

Hi @ferdiakinci - you can achieve this with combination of flag measure and conditional formatting. 

Create a calculated column as below:

replace with your important metrics in below table and columns.

 

CheckEmptyColumns_m =
IF(
    ISBLANK(
        SUM('Sales'[Sales Amount]) +
        SUM('Sales'[Target Sales]) +
        SUM('Sales'[Cumulative Sales])),1,0)

rajendraongole1_1-1721803919784.png

 

Now set the conditional formatting on background based on the  checkemptycolumn_m measure. you can display the title as "Data Available" when the measure is 0 and "No Data" when the measure is 1.

 

Hope it helps

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

 





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

Proud to be a Super User!





Thank you for your help. This doesn't work for me. What I want to do is to make the table not appear at all when it is empty.

power bi soru.png

 

Anonymous
Not applicable

Thanks for the reply from @rajendraongole1 , please allow me to provide another insight:

Hi, @ferdiakinci .

Thanks for letting us know your user experience.  According to your case description, I do understand how frustrated you are now.If you need to disappear when the matrix value is empty, you can't do that at the moment.

 

But you can try the following alternatives:

1.First, create a bookmark, and when the data is empty, manually click on the page that goes to no visualization.

vlinyulumsft_0-1722245367828.png

 

The following is the relevant documentation, I hope it will be helpful to you:

Create report bookmarks in Power BI to share insights and build stories - Power BI | Microsoft Learn
 

2.Second, you can choose to duplicate the page, delete the visualization, and switch manually.

vlinyulumsft_1-1722245367830.png

 

The following are the documents for creating page and bookmark navigation, I hope it will help you:
Create page and bookmark navigators - Power BI | Microsoft Learn

 

If you feel that performance needs to be improved, you can also submit an idea on

https://ideas.fabric.microsoft.com/ and wait for users with the same needs as you to vote for you and help you realize the idea as soon as possible. Many features of our current products are designed and upgraded bed on customers’ feedback.  With requirements like this increase, the problem may well be released in the future.

 

Thanks for your understanding.

 

Best Regards,

Leroy Lu

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.