Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I want to return metadata like the power query dataflow name so if the name changes the metadata will reflect the updated name.
What I'm thinking is a number of system variables that can be queried in the dataflow:
Something like
_.dataflow.Name - this is the name of the dataflow that is indicated in the title
_.dataflow.TableName
_.dataflow.WorkspaceName
The only way to read metadata about dataflows is using the REST API. See Dataflows - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Some of what you want is there, but not everything directly. The Get Dataflow command though will export the entire dataflow definition to a JSON file, and that will have table names, column names, even column data types. You will just need to parse out the JSON file.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCheck out the July 2025 Power BI update to learn about new features.