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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.