Announcements
hi all,
have a dropdown with few values, lets say 1, 2 and 3
trying to create a button that would set value 3... like:
UpdateIf(BI, (ID=ThisItem.ID), {Status: '3'})
it tells me: "expecting a records".... any idea how to format this formula?
@Sifu
Consider the following change to your formula:
UpdateIf(BI, ID=ThisItem.ID, {Status: "3"})
This assumes that your Status is a text column.
You can also simplify your formula to use the current dropdown value:
UpdateIf(BI, ID=ThisItem.ID, {Status: Self.Value})
I hope this is helpful for you.
Hi @Sifu
Can you share more details about the property that you are using this expression on? Is the dropdown control under a gallery or form? If you can share more details, we might be able to help you better.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
@RandyHayes unfortunately still not it.... see pic below
@yashag2255 i try again... its a sharepoint list that i customized with powerapps... one column is a combobox and i want to use one button to change it to a certain value ... this should save time of the user so he does not have to click the drop down choose right option and maybe even save... simply one click "Done"... (this option is also among the possible options within the combo...)
If your Status column is not text (which I mentioned my assumption was for that formula), then you have other provisions to add.
Your formula should look like this to account for that:
UpdateIf(BI, ID=ThisItem.ID, {Status: "3", '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" } )
@RandyHayes do i require to adjust something or add some connector,? currently it still doesnt like something... (updateif has invalid arguments....
Sorry, I missed a little detail on that. Your formula should be this:
UpdateIf(BI, ID=ThisItem.ID, {Status: {Value: "3", '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" } } )
That should work for you.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 382 Super User 2026 Season 2
Mohsin Ali 329
WarrenBelz 187 Most Valuable Professional