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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Sort Time Error

Could use some help with this error message - Not sure what the issue is besides what the error message is saying. 

 

Receiving this error: 

 

"An error occurred in the ‘SortTime’ query. Expression.Error: 5 arguments were passed to a function which expects between 2 and 4.
Details:
Pattern=
Arguments=[List]"

 

This is the code:

 

= Table.NestedJoin(DimTime1, {"Time_HalfHour_RangeEnd_TXT"}, SortTime, {"Time_HalfHour_RangeEnd_TXT"}, "SortTime", JoinKind.LeftOuter)

 

2 REPLIES 2
Anonymous
Not applicable

Yeah, the problem is somewhere in your SortTime query, your Join Step is right on. Just go to the SortTime query and follow the steps until the error appears, that's what you need to fix.

--Nate 

Anonymous
Not applicable

Hi @Anonymous ,

 

I doubt that the error is caused by this line. The able.NestedJoin function takes between 5 and 7 arguments, so the error description does not match what would happen. Could you please check what your DimTime1 and SortTime produce? This looks like a place where the error manifested itself, but not where it is actually made.

 

Kind regards,

JB

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors