web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / CDS Lookup field and f...
Power Apps
Unanswered

CDS Lookup field and filter in Canvas app

(0) ShareShare
ReportReport
Posted on by 424

Hello,

 

I am trying to populate a dropdown box in a Papps Canvas app.

I have one entity that have two lookup fields to the users entity. My entity name is "Coaching Pair" and the lookup fields are "Coached" and "CoachedBy".

 

In my dropdown i would like to list the ones that i'm a coach for.

Filter('Coaching Pair', CoachedBy.'Primary Email' = "magnus.goransson@altitude365.com")

The above works perfect, but it gives me only the autonumber names from the Coaching Pair entity. I would like to populate the dropdown with the Coached lookup field.

I have tested this:

Filter('Coaching Pair', CoachedBy.'Primary Email' = "magnus.goransson@altitude365.com").Coached.'Primary Email'

However, that gives me two blank options in the dropdown.

Is there any way to solve this?

/Magnus

I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    on at

    @MagnusGöransson 

     

    It is not supported to lookup twice in combo box.

    As an alternative workaround, I suggest you use gallery to display the primary email of Coached field.

    Set the Items property of gallery: 

    Filter('Coaching Pair', CoachedBy.'Primary Email' = "magnus.goransson@altitude365.com")

    Set the Label Text in gallery:

    ThisItem.Coached.'Primary Email'

    Sik

  • MagnusGöransson Profile Picture
    424 on at

    Hello,

    Thanks for your answer!

    Gallery works perfect! However, is there any documentation stating what works and what not when it comes to Canvas and CDS? Now it's trail and error for each control.

    /Magnus

  • v-siky-msft Profile Picture
    on at

    @MagnusGöransson 

     

    Sorry for that, there is no such detailed document.

    What all users can get are PowerApps documents and Blogs, they are instructional articles, but it's not guaranteed to include all the user guides, it's more from experience, and that's what the forum is all about for us to exchange experience.

    Sik

  • MagnusGöransson Profile Picture
    424 on at

    Thanks!

    You doing all good with the forum. Very helpful!

    /Magnus

  • v-siky-msft Profile Picture
    on at

    @MagnusGöransson 

     

    One more thing. Kindly remind, don't expose email or other private information on the forum, whether it's work account or test account.

    Sik

  • MagnusGöransson Profile Picture
    424 on at

    Good point, I missed that. However, my email address is quite easy to find anyway 🙂

  • v-siky-msft Profile Picture
    on at

    @MagnusGöransson 

     

    Aha, that's my occupational disease.

    Have a nice day.

    Sik

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard