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 / Changing value to blan...
Power Apps
Answered

Changing value to blank not updating in SP list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

The field "Current Report Owner" is a person search field using Combo-box control.

My query is that if the DataCardValue11_3="Data Extract" which is field "Report Type"- then i want the SP list to get updated as BLANK.

I am using the DefaultSelectedItems property here as shown but the values are not getting written over the SP list.

The form does show a blank when working and selecting the Report Type field as Data Extract. And the Current Report Owner cells changes to blank too. The issue however, is that the SP list still reads the old value and does not show blank.

GauravG_0-1611542119779.png

Attaching a GIF- please assist!

f-min.gif

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    According to your description, let me explain why you encountered this problem.

    The point is that you are not using functions that modify data.

    The DefaultSelectedItems property cannot modify the data in your data source.

    It can only change the value of the "Current Report Owner" control.

     

    So, you could try this:

    1\ Open your settings and modify the settings as shown below:

    175.PNG

     

    2\ Set the onchange property of the Report Type control to:

    If(DataCardValue11_3.Selected.Value="Data Extract",Patch(your data sourse name,ThisRecord,{Current Report Owner:Blank()}));Refresh(your data sourse name)

     

    3\ Set the DefaultSelectedItems property of your Current Report Owner control to:

    Parent.Default

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Sorry I missed your message!  Yes, you will need to turn on the Formula-level error management feature to get this to store properly.  

    As for all the rest of it - your datacard for the form is using the Selected property of the combobox control in the Update property, so there is nothing else needed.  Certainly do not Patch and then Refresh - this is not only not necessary, but will also impact your performance and other parts of your form.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes Thank you so much. I realized the same too that PATCH & REFRESH affected my app badly- not just performance but also the malfunction it brought!

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard