Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

The "formula-level error management" expiremental feature to delete distinct() values

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I've got a form that is populated with entry cards, dropdown lists, dates. I've got a dropdown list that is populated with a distinct() formula*.

 

I wanted to be able to delete previously saved values from dropdowns or dates and leave them empty. For that i enabled the "Formula-level error management" feature in the app parameters. That works great, BUT, now when i save the form, the item of the distinct() dropdown list shown and saved in the SP list gets blanked out and the record deleted from the SP list.

 

Are you aware of something that would allow me to empty records of a dropdown or date AND retain the record of the distinct() dropdown ?


It's a list from a collection, made of ~6000 items, very convenient since you can search in it 🙂

  • dunnno Profile Picture
    on at
    Re: The "formula-level error management" expiremental feature to delete distinct() values

    Hi,

     

    I populate my dropdown (combobox) list from a collection using a distinct() function (>6000 items, searchable)

     

    The update property of the datacard is :

    ComboBox1_5.Selected.Result

     

    And in the EditForm, there still is that combobox with a datacard, the DefaultSelectedItems being :

    [Parent.Default]

     

    My concern here is that i'm not able to delete a date from a date datacard if i don't enable the experimental feature described above. If i do that, i can delete that date BUT it'll delete the entry recorded in my SP list (which is from the combobox dropdown list populated from the distinct () function.

  • v-qiaqi@microsoft.com Profile Picture
    on at
    Re: The "formula-level error management" expiremental feature to delete distinct() values

    Hi @dunnno,

    Do you mean that you populate a dropdown with a collection using the Distinct() function?

    Could you please tell me that how you set the Update property of the dropdown data card?

     

    The Distinct() function could not delete the records from the SP list.

    If you want to save the dropdown selected to a Text field, you should ensure the Update property as below:

    DropdownControl.Selected.Result

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard