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
Anonymous
Not applicable

PBI Service data refresh error: 2 arguments were passed to a function which expects 1

Hi everyone, 

 

I am getting the following error in one of the reports that I have published into Power BI Service; I am getting this error whenever the dataset is refreshed, either as part of a schedule or manual, on demand refresh.

 

Cannot connect to the mashup data source. See error details for more information.

 

Underlying error message:2 arguments were passed to a function which expects 1.
DM_ErrorDetailNameCode_UnderlyingHResult:-2147467259
Underlying error code:-2147467259
Microsoft.Data.Mashup.ValueError.Reason:Expression.Error
Microsoft.Data.Mashup.ValueError.Arguments:{Table.FromRecords({}), [...]}
Cluster URI:WABI-AUSTRALIA-SOUTHEAST-redirect.analysis.windows.net
Activity ID:d890f718-4567-46a0-938f-bc1bb40cab2f
Request ID:febff131-1aec-464a-9c9f-960dde6e05ce
Time:2017-03-07 05:01:17Z



Oddly though, this dataset/report was being refreshed until 2 weeks ago, with the error started to appear since 24/2 morning. There hasn't been any changes to the report, so I am not sure what went wrong all of a sudden. 

 

Thanks 

Kaz

3 REPLIES 3
v-sihou-msft
Employee
Employee

@Anonymous

 

Firstly, please update your gateway into latest version.

 

If it still throws same error, please download a .pbix copy, and go to Query Editor to check generated Power Query. As the error message indicated, try to pass only one argument in "Table.FromRecords" function.

 

Regards,

Anonymous
Not applicable

Hi @v-sihou-msft

 

I downloaded a copy of the PBIX, and did a refresh. It refreshed all the data without any errors. I went and triggered a manual refresh in the Service, and expectedly, failed with the same error "

2 arguments were passed to a function which expects 1.

 

I haven't upgraded my Data gateway, yet. Will be doing later today.

 

Thanks
Kaz

Anonymous
Not applicable

Hi @v-sihou-msft

 

We are upgrading to the new data gateway tomorrow and I am hoping that it resolves our issues with data refresh. Nevertheless I am going to download the PBIX from the Clou dand see where is it having trouble. Interestingly though, the original PBIX refreshes without any errors on Desktop.

 

Thanks
Kaz

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
Top Kudoed Authors