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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
valleserj
New Member

Need Help getting error: Expression.Error: 2 arguments were passed to a function which expects 1

Hi 

 

was wondering if any of you can help me with the SQL code below, my knowldge with SQL is basic at best and im kinda new with powerBI. Trying to do a direct query with the code below but its giving me an error:

 

Expression.Error: 2 arguments were passed to a function which expects 1.
Details:
Pattern=
Arguments=List

 

Code:

 

let
Source = Sql.Databases("MelbVMSQL\coinopsoftware.com,1433"),
coinopamf = Source{[Name="coinopamf"]}[Data],
coinopamf_ufn_MonthlyTransactionReport1 = coinopamf{[Schema="coinopamf",Item="ufn_MonthlyTransactionReport1"]}[Data],
#"Invoked Functioncoinopamf_ufn_MonthlyTransactionReport1" = coinopamf_ufn_MonthlyTransactionReport1(#datetime(2010, 1, 1, 0, 0, 0), #datetime(2019, 3, 7, 0, 0, 0))
in
#"Invoked Functioncoinopamf_ufn_MonthlyTransactionReport1"

 

Hoping you guys can help me with this.

 

1 REPLY 1
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @valleserj ,

I could not understand your below code:

#"Invoked Functioncoinopamf_ufn_MonthlyTransactionReport1" = coinopamf_ufn_MonthlyTransactionReport1(#datetime(2010, 1, 1, 0, 0, 0), #datetime(2019, 3, 7, 0, 0, 0))

Could you please exolain how could you run this invoke?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors