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 September 15. Request your voucher.

Reply
djreyes
Helper I
Helper I

Too many arguments were passed to the OR function.

Hello, 

Please help, I am not sure what I am missing. 

 

If(Or(ISBLANK(PowerBi[Document Date].[Date]),ISBLANK(PowerBi[Created Date]),"No",If(PowerBi[Document Date].[Date]=PowerBi[Created Date],"No",If(PowerBi[Document Date].[Date]>PowerBi[Created Date],"No","Yes"))))

 

I am getting an error message: Too many arguments were passed to the OR function. The maximum argument count for the function is 2.

 

Thank you so much and looking forward for your assistance.

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

@djreyes 

Please try

=
IF (
OR (
ISBLANK ( PowerBi[Document Date].[Date] ),
ISBLANK ( PowerBi[Created Date] )
),
"No",
IF (
PowerBi[Document Date].[Date] = PowerBi[Created Date],
"No",
IF ( PowerBi[Document Date].[Date] > PowerBi[Created Date], "No", "Yes" )
)
)

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

@djreyes 

Please try

=
IF (
OR (
ISBLANK ( PowerBi[Document Date].[Date] ),
ISBLANK ( PowerBi[Created Date] )
),
"No",
IF (
PowerBi[Document Date].[Date] = PowerBi[Created Date],
"No",
IF ( PowerBi[Document Date].[Date] > PowerBi[Created Date], "No", "Yes" )
)
)

Thank you so much!You are the best!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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