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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors