web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / The Function Coalesce ...
Power Apps
Unanswered

The Function Coalesce has some invalid arguments

(0) ShareShare
ReportReport
Posted on by 3,506

I have a sharepoint drop-down field which allow single selection, and i want to set a set a default value for this item, i tried the following :-

c1.png

 

 

but i got this error:-

 

"The Function Coalesce has some invalid arguments"

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @johnjohn123 

    You must have the same data types for all arguments of Coalesce.  

    Your underlying field value (Parent.Default) is most likely by looking at the picture, a choice column.

    In that case Parent.Default will be a record.  Therefore Coalescing it with text will not be value, you must Coalesce with another record.

    Coalesce(Parent.Default, {Value:"Draft"})

     

    I hope this is helpful for you.

  • johnjohn123 Profile Picture
    3,506 on at

    @RandyHayes  yes worked for me thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard