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

5 arguments were passed to a function which expects between 2 and 4

Hi,

 

I have a report which doesn't refresh in Powerbi web having a gateway connection to a PostGreSQL database which works fine with other reports. Please note that this report does refresh in the desktop version without any problem.

 

I am getting the following technical details, which doesn't really help me to find at least the name of the table that may cause the error (I guess that the problem is linked to tables, having also read the message https://community.powerbi.com/t5/Report-Server/5-arguments-were-passed-to-a-function-which-expects-b...).

Unable to connect to the data source undefined.

  • Underlying error code-2147467259
  • Underlying error message5 arguments were passed to a function which expects between 2 and 4.
  • DM_ErrorDetailNameCode_UnderlyingHResult-2147467259
  • Microsoft.Data.Mashup.ValueError.Arguments{Table.FromRecords({}), "Index", 1, 1, number}
  • Microsoft.Data.Mashup.ValueError.ReasonExpression.Error


Can you please help?

Thanks,
Salva

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Solved after reading this https://community.powerbi.com/t5/Desktop/Add-Index-Function-causes-refresh-to-fail/td-p/1301932.

The root cause was the adoption of an index. I have just erased the column type and now the refreshes. 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Solved after reading this https://community.powerbi.com/t5/Desktop/Add-Index-Function-causes-refresh-to-fail/td-p/1301932.

The root cause was the adoption of an index. I have just erased the column type and now the refreshes. 

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.