Skip to main content
Community site session details

Community site session details

Session Id : 9d54Zu3f7fNYBsQ5SepvVt
Power Apps - Microsoft Dataverse
Answered

Access Related table data in a Gallery Control

Like (0) ShareShare
ReportReport
Posted on 5 Dec 2021 10:03:13 by 86

Hi All,

 

I am trying to display related table Column in a gallery control but i am unable to do so.

 

I have a lookup of Entity B on Entity A in dataverse. I have created a gallery control in my canvas app and the items property of gallery is set to 'Entity A' and I want to display a column say 'Category' from 'Entity B' in the gallery.

Category is an option set on 'Entity B'

I tried the below formula however i am getting an error say 'Expected Text Value'

 

LookUp('Entity B','Entity B'=GUID(ThisItem.'Entity B'.'Entity B')).Category

 

Kindly help

 

Categories:
  • Poweruser1101 Profile Picture
    86 on 05 Dec 2021 at 21:26:58
    Re: Access Related table data in a Gallery Control

    Hey, 

    Thank you for responding. I created the view and added the column from the lookup entity and tried the below in the gallery
    ThisItem.'Entity B(LookUp)'.'Name'  It worked.

  • Ram Prakash Profile Picture
    5,318 Super User 2025 Season 2 on 05 Dec 2021 at 16:45:01
    Re: Access Related table data in a Gallery Control

    Hello @Poweruser1101,

     

    You can try @dpoggemann solution hope it will work, if you want to do it in PowerApps add all the values in a COLLECTION and display the same..

     

    Please mark as Answer if it is helpful and provide Kudos

     

     

    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA

    Blog : https://microsoftcrmtechie.blogspot.com

  • Verified answer
    Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on 05 Dec 2021 at 12:43:12
    Re: Access Related table data in a Gallery Control

    hi @Poweruser1101 ,

     

    One easy thing you can do here is to create a view in Dataverse that adds your columns from Table B into a Table A View and since it is a Lookup column it will allow you to do this.  In the Gallery you can then utilize this view and you will have access to your columns from Table B directly from the columns.

     

    Thanks

    Drew

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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

Featured topics