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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not 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 found in the when connecting to localhost: [...] please connect directly to the source instead."

And if I try to use Excel to connect it to Power Query as a SSAS server instance, I find no data in the extract.

I guess it is because the .pbix file is connected in DirectQuery mode.

 

Do you know an other way to view all measures created in the .pbix file?

Thank you

 

6 REPLIES 6
parry2k
Super User
Super User

@Anonymous try this tool, hope it helps.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Hi, thanks for your help, but I do not have admin rights to install this tool...

@Anonymous well that is internal policy problem, not sure what else to say? How you end up installing DAX Studio? Just curious, do the same for this tool.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

If I install DAX Studio only for me, it does not require admin rights.

 

But is there any way to get the measure list without installing any third party tool?

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")

retrieve measures.gif

Reference:

https://ssbi-blog.de/blog/technical-topics-english/how-to-identify-measures-not-used-in-your-pbix-file/

 

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.

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
Not 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...

error1.png

And there is at least one measure:

error2.png

Do you know why?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.