- Comments (1)
RE: Connecting to a Data model in PBI Desktop file from Excel
https://powerbi.microsoft.com/en-us/documentation/powerbi-service-analyze-in-excel/
This only allows you to connect to the Data model in the Cloud (powerbi.com)
We would like to connect to the Data model of the locally stored Power Bi DEKTOP file (.pbix)
This is currently possible but requires a hack
1. Open the Power BI Desktop file (this has to be kept open)
2. Find out the localhost port no using either DAX Studio or via Power Shell
3. Open ExcelTab Data From Other Sources From Analysis Services Type localhost:XXXX – where XXXX is the port no
4. Ok
And you are connected to the Data model inside a Power BI Desktop file – The problem is the port no changes every time you close and open the Power BI File
Three should be a straight forward way of doing this