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 / Dropdown and DatacardV...
Power Apps
Answered

Dropdown and DatacardValue

(1) ShareShare
ReportReport
Posted on by 73
Hi all,
 
I have a dropdown control (Field A) bound to a data source with two columns: X and Y.

When a user selects a value (X) in Field A, I want another field (Field B) to automatically display the corresponding value from column Y.
 
Thanks in advance
Categories:
I have the same question (0)
  • Verified answer
    MS.Ragavendar Profile Picture
    7,431 Super User 2026 Season 1 on at
     
    My Sample Collection :
     
    ClearCollect(
        colLookup,
        { X: "DHL",  Y: "DHL Express" },
        { X: "FDX",  Y: "FedEx" },
        { X: "UPS",  Y: "United Parcel Service" },
        { X: "BDA",  Y: "Blue Dart" },
        { X: "DTDC", Y: "DTDC Courier" }
    );
     
    Drop Down 1 (Items)
     
    Distinct(colLookup,X)
     
     
     
    Drop Down 2 (Items)
     
    With(
        {
            src: Filter(
                colLookup,
                X = Dropdown1.Selected.Value
            )
        },
        Sort(
            Distinct(
                src,
                Y
            ),
            Value,
            SortOrder.Ascending
        )
    )
     
    Final Screenshot
     
    I have used sample collection you can use your respective datasources.
     
    ✅If this helped, please Accept as Solution to help others ❤️ A Like is appreciated 🏷️ Tag @MS.Ragavendar for follow-ups.
  • Dip Profile Picture
    73 on at
    Thank you very much !!!!

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard