Announcements
Hi All,
I have a form which list all the details from a SharePoint. I have a text input field which loads the selected Id from gallery. Based on gallery selected ID that respective details will be viewed in form. I have a field called Action on RPC which when selected only as duplicate a combo box will be loaded with all the RPC Id's from the SharePoint list. My requirement now is For eg. when the text input field has Id as 7(which will load from the gallery automatically when selected) the combo box should omit the selected Id and should list the other ID values. I am not sure how it can be done.. Any suggestions or help on this.
Thanks!
Hi @Uthhra,
Let's say your selected ID is stored in a variable called 'varSelectedID'. In that case, the 'Items' property of your combo box would be:
Filter(DataSource, IsBlank(varSelectedID) Or ID <> varSelectedID)
Hi @Akser
My items property of combo box is:
'RPC - Request Form'.'RPC ID'
?
Filter('RPC - Request Form', IsBlank(varSelectedID) Or 'RPC ID' <> varSelectedID).'RPC ID'
@Akser ,
It worked perfectly. Thank you so much. Can we add two field values to display in combo box. For eg ( Id -3 and description - new change). Can I display both in a combo box s (3 - new change)
Sure, that's why I did not refer to a specific column in my initial response.
AddColumns( Filter('RPC - Request Form', IsBlank(varSelectedID) Or 'RPC ID' <> varSelectedID), "SearchColumn", $"{'RPC ID'} - {Description}")
You need to make a couple changes in your combo box settings (E.g. Set the newly added 'SearchColumn' as your 'DisplayField' and 'SearchField').
I added the above code and I'm getting an error stating
unexpected character. the formula contains 'CurlyOpen' where 'ParenClose' is expected
Thanks a lot. It worked perfectly.
@Akser
Listing is happening in combo box but while submitting its not saving and showing a delegation warning.
Since the setup of your combo box changed, you should also adjust your Patch. For example, this is how you get the ID of the selected item on your combo box:
NameOfYourComboBox.Selected.'RPC ID'
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 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 70
WarrenBelz 64 Most Valuable Professional
Kalathiya 36 Super User 2026 Season 1