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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Update a record and se...
Power Apps
Unanswered

Update a record and set the choice column value as null which previously had some value.

(0) ShareShare
ReportReport
Posted on by 124

Hi all,

I have a choice type column in my table and what I want to do is to set the choice column as null for existing records just like it is null for new records when the default choice is set to "None".

Usman2_0-1683086675529.png

 

I tried patching Blank() to the record but it did not work 

Patch(Cars,carRecord,{Color:Blank()})


Is it possible to set the choice type column value as null?

 

I have the same question (0)
  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at
    Re: Update a record and set the choice column value as null which previously had some value.

    Hi @Usman2 ,

     

    In my test, the value of the choice column can be set to null by patching Blank().

    I guess it may be that the record "carRecord" in the formula does not exist in table.

     

     

     

     

    Best Regards,

    Habsburg Qian

    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Usman2 Profile Picture
    124 on at
    Re: Update a record and set the choice column value as null which previously had some value.

    Hi @v-zhoqian-msft 

    I have checked and the record "carRecord" in the formula does exist in the table.

  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at
    Re: Update a record and set the choice column value as null which previously had some value.

    Hi @Usman2 ,

     

    This is strange. You could check if you can use Patch to update other column values of this record.

    Or have you set the choice column as required?

     

     

     

    Best Regards,

    Habsburg Qian

    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Usman2 Profile Picture
    124 on at
    Re: Update a record and set the choice column value as null which previously had some value.

    Hi @v-zhoqian-msft 
    Yes I can use Patch to update other columns and the choice column is no required it is optional.

    Usman2_0-1683111881746.png

     

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 819 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 308 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 222 Super User 2025 Season 2

Last 30 days Overall leaderboard