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

Community site session details

Session Id : j6tmzYXc3lYNV6N7sqlm7D
Power Apps - Building Power Apps
Answered

Expected type 'Boolean'. Found type 'Record'

Like (0) ShareShare
ReportReport
Posted on 26 Jul 2020 09:42:06 by 5

So my SP List have questions that required just Yes or No. And I set the Column Type to Yes/No.

 

In my test PowerApps app I am using Radio input of 'Yes' or 'No' as opposed to '1' or '2'.

 

I'm using Patch() function to update the SP List.

 

Patch('LBCC Checkin Online',Defaults('LBCC Checkin Online'),{Title:User().FullName,Question1:Radio1.Selected})

 

Getting error: The type of this argument 'Question1' does not match the expected type 'Boolean'. Found type 'Record'.

 

I am not sure if I want to do Single Line Text in SP List which I can get to work. TBH.

Categories:
I have the same question (0)
  • MN003 Profile Picture
    430 on 06 Jul 2022 at 15:12:20
    Re: Expected type 'Boolean'. Found type 'Record'

    Thank you @WarrenBelz! This worked great.

     

    I didn't think I'd find an answer close to what I needed for my Patch function in my form.

  • devdotme Profile Picture
    5 on 26 Jul 2020 at 19:29:13
    Re: Expected type 'Boolean'. Found type 'Record'

    Thank you so much.

  • Verified answer
    WarrenBelz Profile Picture
    149,445 Most Valuable Professional on 26 Jul 2020 at 10:08:21
    Re: Expected type 'Boolean'. Found type 'Record'

    Hi @devdotme ,

    I suspect you have a Boolean field (Yes/No) behind the Radio button option and I see you have hard-coded ["Yes","No"] as the Items, so try this

    Patch(
     'LBCC Checkin Online',
     Defaults('LBCC Checkin Online'),
     {
     Title:User().FullName,
     Question1:
     If(
     Radio1.Selected.Value="Yes",
     true,
     false
     )
     }
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete