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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
thomasreick
Resolver I
Resolver I

Refering to "Objects" of/in PowerBI-File by DAX e.g. Page Names

Hello there,

Is there a "generic" way to read e.g. Page Names of Sheets in PBI and make use of them within DAX-Programming?

 

I would like to have a measure, which gets its result from the PowerBI Metadata. PBI knows what obejts are on what page, so there should be some dictionary to read from.

 

Measures:

lblPageHeadline = [resulting_expression]

 

headlines =

var vPage1 = "Headline to show on page 1"

var vPage2 = "Headline to show on page 2"

var vPage3 = "Headline to show on page 3"

var vPageXY = "Headline to show on page XY"

var resulting_expression = IF ( ME.PageName = Metadata.Page1, vPage1,

IF( Me.PageName=MetadataPage2,vPage2,

IF( Me.PageName=MetadataPage3,vPage3,"No Headline"

)))

return

resulting_expression

 

Can you give some hints wether this is possible or not?

 

thank you in advance

 

Thomas

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

None of this is even remotely possible. If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.powerbi.com

View solution in original post

thomasreick
Resolver I
Resolver I
2 REPLIES 2
thomasreick
Resolver I
Resolver I

lbendlin
Super User
Super User

None of this is even remotely possible. If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.powerbi.com

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors