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 / SOLVED - Error passing...
Power Apps
Answered

SOLVED - Error passing gallery item to form - Property expects record values. Rule produces table values which are incompatible

(0) ShareShare
ReportReport
Posted on by 10

Dear Brainstrust,

 

Looking for help with a complex app with datadrawn from sharepoint list which includes some lookup columns.

 

The sharepoint list has the following items

 

Owner List.JPG 

 

From that I've created a gallery screen using some search and sort code from the brilliant @Shanescows 

 

Selection screen.JPG

 

In order to get the sort and search features to work on the [contact name] lookup field I had to add a new column to the dataset  

 

SortByColumns(Search(AddColumns(Owners,"Contact",'Contact Name'.Value),inpSearchText.Text,"Title","Contact"),varSortBy,If(varSortOrder,Ascending,Descending))

 

This all works brilliantly BUT when I select a specific item and pass the value to an input form I get an error message that;

 

Property expects record values. Rule produces table values which are incompatible

 

This didn't happen before I added the column and I was able to use the Gallery.Selected.Item as the input code on the Form.

 

 

Owners screen.JPG

Which is odd because I only have one value for the selected item 

 

Selected shareholder.JPG

 

Any suggestions on how to populate the form would be greatly appreciated.

 

Thanks in advance

 

Karl

 

 

 

In the end the SOLUTION proved simple, by changing the Item property on the Form from a Filter funtion to Lookup

 

LookUp(Owners,SelectedShareholder=ID)

Categories:
I have the same question (0)
  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @KarlNixon2 ,

    Since your problem has been solved, could you change your issue's status to "Answered"?

     

    Thanks!

     

    Best regards,

    Phoebe

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 385

#2
Vish WR Profile Picture

Vish WR 367

#3
timl Profile Picture

timl 340 Super User 2026 Season 1

Last 30 days Overall leaderboard