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 result and co...
Power Apps
Unanswered

Dropdown result and concat 2 colunms based datacardvalue

(1) ShareShare
ReportReport
Posted on by

I have a datacardvalue in a Power Apps modern form, and I need to create a conditional statement for its Items property. The condition should be based on the selected value from a DataCardValue, and at the same time, it should concatenate results from two columns in the database.

try: 

If(DataCardValue9.Selected.Value = "VALE"; ForAll(Choices([@CentroCustosRNV].CodigoSintetico); Value & " - " & Título);
  ForAll(Choices([@CentroCustosIAV].CodigoSintetico); Value & " - " Título))
Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,615 Super User 2026 Season 1 on at

    hey @xFelipeDuartee 

     

    can u try this:

    If(
     DataCardValue9.Selected.Value = "VALE",
     ForAll(
     Choices([@CentroCustosRNV].CodigoSintetico),
     Value & " - " & Title
     ),
     ForAll(
     Choices([@CentroCustosIAV].CodigoSintetico),
     Value & " - " & Title
     )
    )
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • madlad Profile Picture
    2,637 Moderator on at

    Hi!

     

    The code you've provided looks pretty good, but I'm guessing it's not working as expected, or throwing an error? 

    Could you potentially provide a few more details so we can narrow down the issue some more?

     

    The only thing I can see from the code above, is that this most likely doesn't match the items property of your dropdown. This will definitely cause some issues, so you'll have to confirm that the items property will contain the values you try to pass in as default.

     

    Let me know! 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard