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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
user01
Helper I
Helper I

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

@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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.