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 / Distinct Filter dropdo...
Power Apps
Unanswered

Distinct Filter dropdown and lable

(0) ShareShare
ReportReport
Posted on by 1,257 Super User 2024 Season 1

Ugh I'm stuck on a simple syntax that I've done a million times but brain is not computing at the moment.

 

I have a Dropdown (DD1) which is populates from a datasource  (Datsource1)  which has the following fields Field1 and Field2   The dropdown uses Field1  and I want to put the corresponding Field2  in a label and it just ain't work'n !! I know I'm doing something very stupid.   Here's what I have  which is giving error.  (This is in the label)

 

Distinct(Filter(Datasource1,Field1=DD1.Selected.Field1),Field2).Result

 

TIA

 

 

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    Try

    LookUp(Datasource1,Field1=DD1.Selected.Result,Field2)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • vffdd Profile Picture
    1,257 Super User 2024 Season 1 on at

    Thanks @eka24  unfortunately that doesn't work.  .Result isn't an option after  DD1.Selected.  

     

    regards

     

    darina

  • eka24 Profile Picture
    20,925 on at

    It depends on the formula on the dropdown. Try any of the following;

    LookUp(Datasource1,Field1=DD1.Selected.Value,Field2)

    Or

    LookUp(Datasource1,Field1=DD1.Selected.ColumnName,Field2)

     

    If you still have issues, show the formula on the dropdown

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • vffdd Profile Picture
    1,257 Super User 2024 Season 1 on at

    Thanks, yeah I had already tried your 2nd option and variations of it !

     

    Here's what's in the dropdown

     

    Filter('DataSource1,CatID=DCVCatID.Text)

  • eka24 Profile Picture
    20,925 on at

    What error did you get. Instead, can you show a screenshot of the formula. That would help.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard