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 / Expected record value ...
Power Apps
Answered

Expected record value error

(1) ShareShare
ReportReport
Posted on by 576

I have a datacard on a form that has a dropdown box in the card. I can't resolve the 'Expected record value' error message in the card. My formula for default is thisitem.location.  Any thoughts would be appreciated.

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    Use:
    Dropdown.Selected.Value

    OR

    Dropdown.Selected.Location

  • ahhollan Profile Picture
    576 on at

    i changed to the first option and still get the error. 

  • eka24 Profile Picture
    20,925 on at

    Try:
    Dropdown.SelectedText.Value
    Or
    Dropdown.SelectedText.Result

    Can you provide a screen shot of the dropdown if it does not work.

     

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Max44 Profile Picture
    223 on at

    The Record must match the Schema defined under your lookup field, basically, the following should work:

     

    Patch(Training,
     Defaults(Training),
     {Lookup:{'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Id:Gallery1.Selected.ID,
     Value:Gallery1.Selected.Title}
     }
     )
  • ahhollan Profile Picture
    576 on at

    still not working.

     
    location.jpg
  • ahhollan Profile Picture
    576 on at

    the problem is actually with the update property and not the default property. 

  • ahhollan Profile Picture
    576 on at

    see screenshot. It's actually with both Default and Update. Sorry for the confusion.

    location2.jpg
  • ahhollan Profile Picture
    576 on at

    see attached for field properties.

    location3.jpg
  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @ahhollan ,

     

    What is the kind of data source?

    What is the type of location column?

    Sik

  • ahhollan Profile Picture
    576 on at
    SharePoint list is the data source. Column type is single line of text. Drop down is fed by another SharePoint list.

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,041

#2
11manish Profile Picture

11manish 676

#3
Valantis Profile Picture

Valantis 655

Last 30 days Overall leaderboard