web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details
Power Apps - Building Power Apps
Answered

Invalid number of arguments

Like (0) ShareShare
ReportReport
Posted on 19 Sep 2018 20:47:16 by

I'm just learning PowerApps and have gotten pretty far but now can't figure out what is wrong with this formula... 

 

If(IsEmpty(Filter(MIRes, Promo = DDPromo.Selected.Value && WeekRange = DateRange.Text ), DisplayMode.Edit, DisplayMode.Disabled))

I keep getting "Invalid number of arguments: recieved 3, expected 1." and "Invalid number of arguments: recieved 1, expected 2 or more."

 

Please Help!! 

Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on 19 Sep 2018 at 21:23:06
    Re: Invalid number of arguments

    Hi @Anonymous,

     You left off a closing parenthesis of the IsEmpty function and have an extra one at the end of the If function.  I believe   If(IsEmpty(Filter(MIRes, Promo = DDPromo.Selected.Value && WeekRange = DateRange.Text )), DisplayMode.Edit, DisplayMode.Disabled) will work.

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete