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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
user01
Helper II
Helper II

Hide page whenever specific matrix is empty due to missing data queried via DirectQuery

I have a report/dashboard with three pages. There are various tables and matrices on all pages. All data for visualizations are brought in via DirectQuery. This report is published to our workspace.

 

On Page 1, there is one filter, Company Selection, that selects the target company for the report. This filter syncs to all the pages. The Company Selection acts as the dynamic M query parameter used to query data for all the visualizations.

 

On Page 2, there are two matrix visualizations. Let's call them Matrix 1 and Matrix 2. Sometimes, there is no data available for Matrix 2, so the table returned is empty. (Matrix 1 should also theoretically be empty, or is simply meaningless in this case.)

 

Essentially, users/viewers can select a target company to view the report, then export the results (usually to PPT). We don't want Page 2 shown if Matrix 2 is empty. We also don't want an empty/useless Page 2 to be exported to PPT. For these reasons, is there a way to hide Page 2 whenever Matrix 2 is empty? 

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@user01 , I doubt you can do that.

You can hide page 2 and drill using a measure when there is some data. Using Dynamic page navigation

Very similar to

https://www.youtube.com/watch?v=FrEDZZXiit8

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandakThanks for the tip! Unfortunately, I don't believe this will work for our purposes since the hidden pages will not be exported to PPT. Only the "Navigation Page" (the one that is not hidden) will be exported, unless "Excluded hidden report tabs" is unselected, correct?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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