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 / If Conditions with 2 D...
Power Apps
Answered

If Conditions with 2 Dropdown

(0) ShareShare
ReportReport
Posted on by 3

Hello.

 

I want to have a datacard automatically filled as the default value if something was selected in two different dropdowns.

 

Example:
Drodown1: A
Dropdown2: B

Result Datacard: 1

 

Drodown1: A
Dropdown2: C

Result Datacard: 3

 

and so on

 

I've tried the following but it doesn't work.

If (DataCardValue6. Selected.Value = ”A” & DataCardValue5.Selected.Value = "B", "1", "") & If (DataCardValue6. Selected.Value = ”A” & DataCardValue5.Selected.Value = "B "," 2 "," ")

 

Can someone help me.

thanks in advance

Categories:
  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Kindly follow this structure:

    If(Dropdown4.Selected.Value = "A" && Dropdown4_2.Selected.Value = "B", "1",
    If(Dropdown4.Selected.Value = "A" && Dropdown4_2.Selected.Value ="C","2"," "))

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

    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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard