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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Chelle
Regular Visitor

Importing an Excel PowerQuery

Hi everyone, 

I am trying to import a Query into PowerBI desktop by using this:

=Excel.CurrentWorkbook(File.Contents("location\Input_full.xlsm"){[Name="QueryTableName"]}[Content])

but it gives me this:
Expression.Error: We cannot convert a value of type Binary to type List.
Details:  
Value=[Binary]
Type=[Type]

What I want is for PowerBI to extract the content of the Excel PowerQuery and import it as another query within PowerBI and not just a connection (like a table in excel, to be used as a source for other queries)

Is this even possible?

Thanks in advance.

 

2 REPLIES 2
danextian
Super User
Super User

Hi @Chelle ,

 

Excel.CurrentWorkbook is not a Power BI M  function. It is specific to Excel only.  Try this feature instead.

danextian_0-1719750950601.png

This will import the raw table that's within that workbook.  If you instead want to import the output of Power Query, you must load it to a table and then connect to that table using the Excel connector.

 

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

I'll give it a try.  Thanks!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors