Skip to main content
Community site session details

Community site session details

Session Id : Y6kQI41R0BZaO5d/8K/QlL
Power Apps - Microsoft Dataverse
Answered

Gallery lookup data linked to other gallery not working using CDS

Like (0) ShareShare
ReportReport
Posted on 15 Jul 2019 10:37:53 by 102

Hi,

 

I have 3 tables which I linked using relationships:

- Consultants

- Training history

- Training list

From the training history entity I have 2 relationships 'many-to-one' to the other 2 tables.

I first select a consultant, then I want to see which trainings he has followed.

The second gallery is shown the trainings correctly via Items: Gallery2.Selected.'Training Histories'

But I can't show the lookup columns like 'ThisItem.'Training ID' -> expected text value (see attachment).

I also tried to show the training name which is present in the training list entity via 

LookUp('Training List','Training ID'=ThisItem.'Training ID','Training Name')

This gives the error 'invalid argument type'.

 

Any help would be great! Thanks

 

Kr

 

 

 

 

 

  • ThomasVDS Profile Picture
    102 on 16 Jul 2019 at 08:13:39
    Re: Gallery lookup data linked to other gallery not working using CDS

    @yashag2255Thank you, it worked!

     

    For the training ID -> ThisItem.'Training ID'.'Training ID'

    For the Training Name I even didn't need to do a lookup -> ThisItem.'Training ID'.'Training Name'

  • Verified answer
    yashag2255 Profile Picture
    24,596 Super User 2024 Season 1 on 15 Jul 2019 at 16:59:34
    Re: Gallery lookup data linked to other gallery not working using CDS

    Hi @ThomasVDS 

     

    Can you please confirm the name of attribute you have used for creating the lookup? Lets suppose its name is "LookUpField", the label text expression will get modified to:
     
     ThisItem.LookUpField.'Training ID'
    or to display Training Name
     
    LookUp('Training List','Training ID'=ThisItem.LookUpField.'Training ID','Training Name')
     
    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Featured topics

Loading complete