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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Enable Access to Current Page Name (or Page ID) in DAX

Currently, Power BI does not expose the current page name or page ID to DAX or the data model. This limits the ability to make reports more dynamic.

Problem:

  • There is no way to detect which page the user is viewing.

  • Without this, it’s not possible to apply page-specific filters, restrictions, or dynamic behavior through measures.

  • Workarounds (like disconnected tables, bookmarks, or field parameters) require manual maintenance and don’t scale well.

Proposed Solution:

  • Provide a function (e.g., CURRENT_PAGE() or similar) that returns the current page name or a unique page ID.

  • Make this function available in DAX, measures, and possibly conditional formatting.

Benefits:

  • Enable truly dynamic filtering depending on the page.

  • Allow building context-aware measures that adapt automatically.

  • Reduce the need for manual workarounds with slicers and bookmarks.

  • Improve governance and security scenarios where certain data should only be visible on specific pages.

By having access to the page name (or page ID), report authors could implement many dynamic filters, restrictions, and conditional logics that would make Power BI reports more powerful and flexible.

 

Status: New