Skip to main content
Microsoft Idea

Power BI

Needs Votes

DAX functions that return Report Name and Page Name

Vote (197) Share
Greg's profile image

Greg on 15 Mar 2019 20:05:38

Please create two new DAX functions, like GetReportName () and GetPageName () . In embedded environment, we're letting customers make copies of reports (they supply the report name), and we let them edit pages (name and content). Instead of hard-coding the report name or page name, it would be ideal to use these functions so that the values automatically change as report/page names change. Thanks.

Comments (11)
Greg's profile image Profile Picture

Arial Patel on 25 Mar 2024 15:49:03

RE: DAX functions that return Report Name and Page Name

Bump, could really use this. Example: Switch for page name, if = x page name then dax measure calculating period selected is filtered appropriately based on fact table (multi fact table model)

Greg's profile image Profile Picture

Reinhard Eilmsteiner on 31 Aug 2023 16:08:15

RE: DAX functions that return Report Name and Page Name

Yes, I could use this too!

Greg's profile image Profile Picture

James Bartlett on 30 Aug 2023 16:53:06

RE: DAX functions that return Report Name and Page Name

Yes, please give us APPID(), APPNAME(), DATASETID(), DATASETNAME(), REPORTID(), REPORTNAME(), PAGEID(), PAGENAME(), WORKSPACEID(), and WORKSPACENAME() functions in DAX!

Greg's profile image Profile Picture

Michal Rosa on 16 Nov 2022 23:31:13

RE: DAX functions that return Report Name and Page Name

Definitely something that is needed, wanted and required. Needs more support!

Greg's profile image Profile Picture

Aku T on 26 Jan 2022 13:57:09

RE: DAX functions that return Report Name and Page Name

This would also be really useful in scenario when you have multiple reports from same tabular model and you would need to assign different row filter on different reports for user group. Would make life a lot easier with the permission for data like this. This functionality is already available in other reporting products.

Greg's profile image Profile Picture

Kumar Pranit on 10 Dec 2021 22:05:25

RE: DAX functions that return Report Name and Page Name

I was expecting this basic feature to be there as we have path and wd or pwd in other languages.
In my scenario I have a list of measures which changes a bit on each page.
no of pages 7
no of measure 3
Now, I have to create 21 measures for the same job and make sure the correct page gets the correct formula.

Havin this would be nice as I can just do a switch case and use the formula.

Greg's profile image Profile Picture

Ilya Blyakhman on 04 Aug 2021 17:17:31

RE: DAX functions that return Report Name and Page Name

It would be helpful to have not just report name but also workspace (name/id) functions, and have them accessible in Power BI Paginated Reports. 

Greg's profile image Profile Picture

on 09 Dec 2020 00:51:02

RE: DAX functions that return Report Name and Page Name

I would like to be able to use the Current Report Name in DAX measures so I can apply different DAX code depending on the report. Therefor I will be able to create one measure but set different filters in the measure depending on the report name.

Greg's profile image Profile Picture

Power BI User on 06 Jul 2020 00:11:22

RE: DAX functions that return Report Name and Page Name

Would really like this feature also, that way I don't have to automatically update the name of the report in two places (the tab name and also in the actual report)

Greg's profile image Profile Picture

Greg on 05 Jul 2020 23:43:27

RE: DAX functions that return Report Name and Page Name

Agreed - this would be really useful! I didn't see this idea until AFTER posting a similar one, for getting report name and page name.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/37114474-dax-functions-that-return-report-name-and-page-nam

Merged Idea (1)