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 / Show text based on a d...
Power Apps
Answered

Show text based on a drop down value, conditional.

(0) ShareShare
ReportReport
Posted on by 149

I need to show different text based on the drop down value.  For example if someone selects A in the drop down then the text box below displays "you have selected A" , if B then you have selected B" etc

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,928 Most Valuable Professional on at

    Hi @MikeBlairTP ,

    In a Label Text

    "You have selected " & DDName.Selected.xxxx

    where xxxx is the valid output of the dropdown (Value/FieldName etc)

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

     

  • MikeBlairTP Profile Picture
    149 on at

    This solves perfectly the example I give above, thank you. 
    However, I am trying to a block of text when some selects an item from the drop down. The text will change depending on the value of the drop down. 

  • WarrenBelz Profile Picture
    154,928 Most Valuable Professional on at

    @MikeBlairTP ,

    Can you please give me an example of what needs to show and where you are getting it from.

  • MikeBlairTP Profile Picture
    149 on at

    Thanks, I’m trying to create a tooltip style function like the below. I’ve seen static tooltip using an icon and text when you hover, but mine is dynamic.  

    AB8D1D44-9BCA-434D-9905-8DB6B009996F.jpeg

  • WarrenBelz Profile Picture
    154,928 Most Valuable Professional on at

    @MikeBlairTP ,

    Where are you getting the "tooltip" value that matches "Cyber Security" from? Also you can have dynamic tooltips on a control like a combo box, but they will only react once you have selected an item, not in the drop-down list as you have illustrated.

  • MikeBlairTP Profile Picture
    149 on at

    Reacting once selected should do. I can always add some text to say click to see examples. Are dynamic tooltips straight forward to setup?

  • WarrenBelz Profile Picture
    154,928 Most Valuable Professional on at

    @MikeBlairTP <

    You just need a list of selected items and their corresponding tool tips, then lookup that list.

  • Verified answer
    MikeBlairTP Profile Picture
    149 on at

    Thanks for your help @WarrenBelz  on this 🙂

    I used the below in the end to populate a text field

     

     

    If(
    DataCardValue2.Selected.Value = "Cyber Security",
    "Here is some cyber examples",
    DataCardValue2.Selected.Value = "CMAR for Finance",
    "CMAR example text!"
    )

  • Verified answer
    WarrenBelz Profile Picture
    154,928 Most Valuable Professional on at

    @MikeBlairTP ,

    If that is in the Tooltip, you can shorten this

    Switch(
     Self.Selectd.Value,
     "Cyber Security",
     "Here is some cyber examples",
     "CMAR for Finance",
     "CMAR example text!"
    )

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard