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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
BenBlackswan
Helper V
Helper V

Is there a way to get PQ or M code to display the name of the workspace and dataflow instead of ID?

hello all, 

 

Is it possible to get Power Query/M code to display the name of the workspace/dataflow instead of their ID so that it makes it easier for me to know where the table is located in?

 

Nietzsche_0-1718148394091.png

 

Thanks

1 ACCEPTED SOLUTION
Joe_Barry
Super User
Super User

Hi @BenBlackswan 

 

I don't believe there is.

What you can do is when you bring the table in, is to leave a note in the mquery. In a new line you can leave the workspace name like

/// Business Intelligence

 

If you want to find out which workspace it is, then copy the id and put it in this url and search in your browser

https://app.powerbi.com/groups/youridhere/

 

Hope this helps

Joe




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Learn about the Star Schema, it will solve many issues in Power BI!

Date tables help! Learn more



LinkedIn


Let's connect on LinkedIn


View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @BenBlackswan ,

 

Unfortunately.Power Query/M itself does not directly support fetching or displaying workspace or dataflow names within the query editor or through M code.You can manually add comments within your M code to annotate the names of workspaces or dataflows.

 

If you would like to suggest feature improvements, you may vote the idea and comment here to improve this feature. It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best Regards,
Community Support Team_ Scott Chang

Joe_Barry
Super User
Super User

Hi @BenBlackswan 

 

I don't believe there is.

What you can do is when you bring the table in, is to leave a note in the mquery. In a new line you can leave the workspace name like

/// Business Intelligence

 

If you want to find out which workspace it is, then copy the id and put it in this url and search in your browser

https://app.powerbi.com/groups/youridhere/

 

Hope this helps

Joe




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Learn about the Star Schema, it will solve many issues in Power BI!

Date tables help! Learn more



LinkedIn


Let's connect on LinkedIn


Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors