Forum Discussion
Anonymous
6 years agoNot applicable
Retrieve all measures in DirectQuery mode
I want to get a list of all the measure that have been created in a .pbix file. I read that I can with DAX Studio, but I have got a message while connecting to my Power BI file : "No databases were...
v-xuding-msft
6 years agoCommunity Support
Hi Anonymous ,
Please view the gif below. Maybe it can help you.
- Change 61200 to your own localhost code
= OleDb.Query("Provider=MSOLAP.8;Data Source=localhost:61200;Update Isolation Level=2", "SELECT * FROM $SYSTEM.MDSCHEMA_MEASURES")
Reference:
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
6 years agoNot applicable
Thank you for your answer.
It raises me an eror: "An error happened while reading data from the provider: 'The MSOLAP.8 provider is not registered on the local machine."
I guess I should download MSOLAP (amd64) from here and ask admin to install it.
Edit: installation solved the problem, but I have no value in the request...
And there is at least one measure:
Do you know why?