Forum Discussion
Connect to a Dataflow with Excel Power Query
- 7 years ago
Hi michaelshparber ,
Based on my test, it is not supported yet currently.You can come up a new idea about that and add your comments there to improve Power BI and make this feature coming sooner.
https://ideas.powerbi.com/forums/265200-power-bi-ideas - 4 years ago
It hasn't been properly rolled out yet, but I've figured out how it can be done (and it's really easy!). Not sure if this has been fully rolled out inside excel yet, I'm using excel 365 and it's working for me.
In excel, do Get Data -> Other Sources -> Blank Query.
The first line of your query needs to be:
=PowerPlatform.Dataflows(null)
If you've ingested a dataflow into Power BI before, this navigation will start to look very familiar. You'll need to sign in with your organisational account, and then you should see a table in the previous window show the records "Workspaces" and "Environments". Click "Workspaces", then under the "Data" field select "Folder" and it will drill down to the next level. You can keep navigating down in the same way, but I find the easiest way to continue is to then click the Navigation Cog in the "Applied Steps" box and navigate exactly the same way that you would do in Power BI.
Power Query Dataflow Navigation
Congratulations! You've just connected Excel Power Query to your Power BI Dataflow! You can now interact with the dataflow in PQ exactly as you would any other source, and once you're done you can Load your data directly into your data model or a tab as usual.
It hasn't been properly rolled out yet, but I've figured out how it can be done (and it's really easy!). Not sure if this has been fully rolled out inside excel yet, I'm using excel 365 and it's working for me.
In excel, do Get Data -> Other Sources -> Blank Query.
The first line of your query needs to be:
=PowerPlatform.Dataflows(null)
If you've ingested a dataflow into Power BI before, this navigation will start to look very familiar. You'll need to sign in with your organisational account, and then you should see a table in the previous window show the records "Workspaces" and "Environments". Click "Workspaces", then under the "Data" field select "Folder" and it will drill down to the next level. You can keep navigating down in the same way, but I find the easiest way to continue is to then click the Navigation Cog in the "Applied Steps" box and navigate exactly the same way that you would do in Power BI.
Power Query Dataflow Navigation
Congratulations! You've just connected Excel Power Query to your Power BI Dataflow! You can now interact with the dataflow in PQ exactly as you would any other source, and once you're done you can Load your data directly into your data model or a tab as usual.
Thank you for this awesome discovery! This will make a lot of Excel users happy. 🙂
Community: here's the full query and screenshots to assist.
1. Query:
let
Source = PowerPlatform.Dataflows(null)
in
Source
2. In the Data column for Workspaces, click "Folder".
3. Click the gear icon on the Navigation step and navigate to the dataflow entity.
----------
Another way to use Power BI data in Excel is to connect a pivot table to a published dataset. You can connect from Excel, or use the "Analyze in Excel" option in Power BI Service. Connecting to a dataset will enable you to use calculated tables, calculated columns, and measures. It's great to have the option to use dataflows or datasets.
If you need to use formulas to pull dataset data into another sheet, configure your pivot table to use a table format:
1. Show in Tabular Form
2. Repeat All Item Labels
3. Remove subtotals