Skip to main content

Notifications

Power Apps - Microsoft Dataverse
Suggested answer

How to patch boolean to yes/no data type field dataverse table.

Posted on 26 Nov 2024 10:39:15 by
I am trying to patch a value (true or false) to a dataverse table. But I got an error, asking for a OptionSetValue instead of boolean. But the field in the table is of datatype Yes/No, which is a boolean type,  according to the documentation. 
 
Any clue's?
 
Translation: 'Non-compatibel type. The column Divers in the datasource you are modifying, expects the type OptionSetValue (Divers (Sales entries SSES)) and you are using type Boolean.'
 
Column settings:
 
 
Thanks in advance!
  • Suggested answer
    jpespena Profile Picture
    jpespena 150 on 26 Nov 2024 at 11:31:17
    How to patch boolean to yes/no data type field dataverse table.
    Hi,
     
    Try
    'Divers (Sales entries SSES)'.Yes
     

    If my post helped resolve your issue, please click Accept as Solution—this helps others find it more easily and marks the item as closed. If you found this or my previous reply helpful, a Like would also be appreciated!

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,129

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,797

Leaderboard

Featured topics