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 / Yes/No data type in Da...
Power Apps
Answered

Yes/No data type in Dataverse (4Teams) table in Collection appear as question mark "?" using ShowColumns

(0) ShareShare
ReportReport
Posted on by 33

I've built a DV4T table (CannedMessages), with several Yes/No columns, and need to collect this data and use it to trigger behavior.

I created a collection (colActionsTaken) and read in the values from the table using ShowColumns, so all the data comes with. Each item checked/selected in a gallery will add another item to this collection, along with a bit of other necessary data.   Code in photos below.  
image001.png
When I view the collection, the Yes/No columns' data appear as "?" question marks.

image002.png
Everything works as designed, except for the Yes/No data not appearing in my collection.  Don't think I'm doing anything special here, but all the other data comes into the collection just fine.  Yes/No columns (yes, I know it's really stored as 1/0 'choices') are not usable.  What am I doing wrong, or how do I get the actionable yes/no, true/false, or 1/0 data from the records in CannedMessages to show up in my collection, alongside all the other record data...?  Help!

You can see here there IS Yes/No data stored--not just empty fields:
image003.png

Categories:
  • wtmayes Profile Picture
    33 on at

    Nevermind.  The question marks shown now respond to True/False queries.  Maybe I was doing something wrong, but the collection still displays question marks, instead of Yes/No, 1/0, or True/False. 

    Suppose it doesn't matter what it shows the developer, so long as the code works...

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @wtmayes ,

     

    Maybe it's due to the special column type Choice. This kind of columns could not display in the collection because values are not of any types of texts or records or tables.

     

    Best regards,

  • Verified answer
    wtmayes Profile Picture
    33 on at

    Pretty sure each "Choice" in a choice field actually IS a record.  ".Selected" property in a combobox is a type RECORD.  If your can store multiple "Choices" the property ".SelectedItems" becomes a TABLE. 

    I'm not stressing anymore, since the data "works"--I can use .KitStatusChg or .TriggeredByApp columns now from the collection to evaluate to True/False in Formulas.  Not sure why that wasn't working before.  But I would think displaying the data that is stored is the whole point of having a "collection" screen that shows variable contents... 

  • Verified answer
    CU01082049-0 Profile Picture
    on at

    I came across this issue when using the Modern Table control. The Yes/No column would not display anything. Here's the workaround I used. Using the AddColumns function I did the following:

    AddColumns(<data source>, "Yes/No", If(YesNoColumn, "Yes", "No"))

    That displayed a "Yes/No" column with values of "Yes" or "No"

  • 55552 Profile Picture
    682 on at

    I had the same issue, question marks appearing in the Collection view for all the Dataverse Yes/No fields. Your post helped me understand that the data are actually present, just not displaying in the raw collection, but they work when referenced throughout the app.

    Thanks!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard