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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to blank an option...
Power Apps
Answered

How to blank an option set field in CDS with Patch()

(0) ShareShare
ReportReport
Posted on by 1,594

Hi all,

Anyone knows how to blank an Option Set field (which is not mandatory by the way) in CDS using the Patch() function from a Power Apps canvas app?

I've already tried this, with no luck:

Patch(<entity>, <item>, {<optionset>: Blank()})

 

Thanks...

Categories:
I have the same question (0)
  • R3dKap Profile Picture
    1,594 on at

    Seriously? No one knows how to do this? There's gotta be at least one person here that faced this once in his life! 😁

  • Verified answer
    R3dKap Profile Picture
    1,594 on at

    Ok, thanks to Hardit Bhatia, the solution is :

    • using the Patch() as mentionned in my initial post
    • enabling the Formula-level error management in the advanced settings of the application

    Thanks Hardit for the tip about this setting which made it all work!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    can you be more specific?
    Does enabling formula-level error management" allow you to patch =Blank() ?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard