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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Artie
Frequent Visitor

Expression.Error: The name 'PowerBI.Dataflows' wasn't recognized. Make sure it's spelled correctly.

Hi,

I did make up a report that uses a Dataflow called "fact_Sales". I was able to save it and publish it successfully.  However, when one of my peers tried to open it from his computer, he got this error: "Expression.Error: The name 'PowerBI.Dataflows' wasn't recognized. Make sure it's spelled correctly."

 

I thought it was a security issue, so the security report was cleared from this desktop. The credentials were refreshed but the error remained.

 

We created a blank query having Dataflows as the data source and it worked. We tried to copy/paste the M code generated from this new query into the old one, but it did not work (not sure if each query has hidden code). So at the end we build a new query that worked.

 

When I opened the report from my desktop, I got the same error. No changes were made to the report.

 

What may be driving this error?

 

Thanks.

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Artie ,

In fact, power bi desktop also require credentials to authorize and get correspond dataflow.
In query editor, it will direct invoke stored credentials to get correspond user id to find out workspace id and 'dataflow id' list.(obviously, these credentials not exist in other users' computers)

20.png

19.png

Regards,

Xiaoxin Sheng

View solution in original post

Hi Xiaoxin,

 

Thank you for the reply. I did try the Credentials refresh but it didn't work for me. Something that sounds weird to me is the expression "the name ... wasn't recognized", like if the source type didn't exist.

 

By doing some trials and errors, I found out that by going to the applied step "Source", then hitting Refresh Preview, somehow Power Query connects to the Dataflows.

Capture PB.PNG

We need to run the steps above each time the person who refreshes the report changes.

 

Perhaps not a scientific solution, but it worked.

 

Thank you!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Artie ,

In fact, power bi desktop also require credentials to authorize and get correspond dataflow.
In query editor, it will direct invoke stored credentials to get correspond user id to find out workspace id and 'dataflow id' list.(obviously, these credentials not exist in other users' computers)

20.png

19.png

Regards,

Xiaoxin Sheng

Hi Xiaoxin,

 

Thank you for the reply. I did try the Credentials refresh but it didn't work for me. Something that sounds weird to me is the expression "the name ... wasn't recognized", like if the source type didn't exist.

 

By doing some trials and errors, I found out that by going to the applied step "Source", then hitting Refresh Preview, somehow Power Query connects to the Dataflows.

Capture PB.PNG

We need to run the steps above each time the person who refreshes the report changes.

 

Perhaps not a scientific solution, but it worked.

 

Thank you!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.