web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Getting Canvas App Tog...
Power Apps
Suggested Answer

Getting Canvas App Toggle working with a dataverse yes/no

(1) ShareShare
ReportReport
Posted on by 581
I've got a dataverse datasource - with a large number of yes/no columns.
 
I want to display a form in a page. However when I try and select a toggle for my yes/no column it's not available.
 
Further to this, when I copy and paste in a working toggle into the datacard in the "Default" are when I put in Parent.Default it tells me it's expecting a boolean value - which is should be...
 
More investigation suggests that the app is under the impress that it's a choice not a boolean.... I've checked my dataverse table and it's clearly a yes/no
 
What is going on here?
 
Thanks in advance
Categories:
I have the same question (0)
  • Suggested answer
    Robu1 Profile Picture
    1,621 Super User 2026 Season 1 on at
    Hi @ ,
     
    Thank you for choosing Microsoft Community.
     
    It sounds like you’re facing a common issue where the Yes/No column in Dataverse is being interpreted incorrectly in Power Apps. 
    Here are a few steps to troubleshoot and resolve this issue:
     
    Verify Column Type in Dataverse:
    Double-check that the column in Dataverse is indeed set as a Yes/No type. Sometimes, it might appear correct but could have been misconfigured.
     
    Check DataCard Default Property:
    Ensure that the Default property of the DataCard is set to a boolean value. For a Yes/No column, it should be true or false. If it’s showing as a choice, it might be due to a misconfiguration or a bug.
     
    Recreate the DataCard:
    Sometimes, deleting the existing DataCard and adding it again can resolve the issue. This forces Power Apps to re-evaluate the column type.
     
    Use a Toggle Control:
    If the toggle control isn’t available, you can manually add a toggle control and bind it to the Yes/No column. Set the Default property of the toggle to Parent.Default and ensure the Update property of the DataCard is set to the toggle’s value.
     
    Check for Known Issues:
    There have been known issues with Yes/No columns in Power Apps. Ensure your Power Apps environment is up to date, as some bugs might have been fixed in recent updates.
     
    Use a Patch Function:
    If the issue persists, consider using the Patch function to manually update the Yes/No column. This can sometimes bypass the UI issues.
     
    If these steps don’t resolve the issue, it might be helpful to look at specific error messages or logs for more detailed troubleshooting. 
     
    Let me know if you need further assistance!
     
    If this fixes the issue, please mark as resolved to help others with find it.
     
    Happy to help 
    Robu 1
  • Lee-Martin Profile Picture
    581 on at
    @Robu - I've done this, however I cannot find the Update propery in my custom datacard... It goes "Required", then "Visible" - no "Update" inbetween
  • Lee-Martin Profile Picture
    581 on at
    Fixed it by adding a toggle into a custom datacard and used the onchange to update the combobox that it think's is needed

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard