I have Dataverse table with column created as "Yes/No" type.
When I create PowerApps it will display as "Drop", instead we want to have checkboxes for Yes and No option. Also if a user selects one option the other one should be automatically unchecked.
For that I have used below steps.
1. Create gallery under Column_datacard.
2. Set existing datacardvalue1.Visible =false
3. Set exisiting Datacardvalue1.DefaultselectedItem = ForAll(details, {Value:Title})
3. insert Checkbox under the Gallery.
4. Set Checkbox "Label" property=ThisItem.Value
5. Set gallery "Items" Property =Choices('Column(TableName)')
6. Set Oncheck Property on checkbox as "Collect(details, {Title:ThisItem.value})
6. Set ONUncheck property on checkbox as "removeIF(details, Title=ThisItem.value)
Here I am trying to collect details using collections. Now the issue is that we can select both the answers from this checkbox. Because this is part of gallery, I am not sure how to set rule if one is selected then the other should automatically uncheck. Is there any other alternative solution for this instead of going through all these steps?
End of the day we need to save content back to Dataverse column.