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 a different c...
Power Apps
Answered

Expected a different collection record structure.

(0) ShareShare
ReportReport
Posted on by 108

Hi all,

 

I have created a component which contains a custom table property. Below is the schema I have defined for my Dataverse table

 

Table(

{

jd_id:"jdd001",

jd_name:"David",

jd_email:"david@test.com",

jd_address:"3357 Fieldcrest Road,New York, NY,10011",

jd_age:29

}

)

 

I have another component with define custom property which expects a single record value. Below is the schema I have defined:

{

jd_id:"jdd001",

jd_name:"David",

jd_email:"david@test.com",

jd_address:"3357 Fieldcrest Road,New York, NY,10011",

jd_age:29

}

 

If you set the table property to a database table (e.g. Sort(Employee, Id)) OR

A single record property (e.g. LookUp(Employee, Id="jdd001")) raises a following warning/error:

"Expected a different collection record structure"

 

Question

How can set the property as my target table and for single record with defined schema?

 

Aby help would be appreciated.
Thanks

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

    Hi @Jackson_Dhorty ,

     

    I made a sample for you.

    Create a table named ‘E1’ in Dateverse.

    vxiaochenmsft_0-1666754770667.png

    Create a component named 'Component1' to customize the table input property.

    vxiaochenmsft_1-1666754793110.png

    Add a gallery to the component and set Items to the following formula:

    vxiaochenmsft_2-1666754806565.png

    Add components to the screen and set 'E3' property.

    vxiaochenmsft_3-1666754835092.png

    RenameColumns(E1S,"crba2_jd_id","jd_id","crba2_name","jd_name","crba2_email","jd_email","crba2_adress","jd_address","crba2_age","jd_age")

     

    Result:

    vxiaochenmsft_4-1666754853645.png

    Hope it helps you.

     

    Best Regards,

    Wearsky

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,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard