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 / text displayed based o...
Power Apps
Answered

text displayed based on dropdown selected.

(0) ShareShare
ReportReport
Posted on by 76

Hi, I have a dropdown field "Country" , my requirement is when do I select the country as "India" , then display a text "Payment term should be net 30 Days" and when user select the Country as Japan the text displayed "Payment term should be Net 45 Days". text should vary based on dropdown selection.

How can i achieve this in Power apps. I just want to notify the user to select the desired option based on the text display.

Categories:
I have the same question (0)
  • Verified answer
    Prabhakar_S Profile Picture
    735 Moderator on at

    Hi @Kuma0002 ,

     

    Try this,

     

    In the Text Property of a Label,

    Switch(
    Dropdown1.Selected.Value,
    "India", "Payment term should be Net 30 Days",
    "Japan", "Payment term should be Net 45 Days",
    "USA", "Payment term should be Net 60 Days",
    "UK", "Payment term should be Net 30 Days", // Example for UK
    "Select a country" // Default text when no country is selected
    )

     

    Thanks!!!

     

    Please consider marking my response as the accepted solution if it successfully resolves your concern. If you found the information beneficial in other aspects, kindly express your appreciation by giving it a thumbs-up.

  • VDI Profile Picture
    337 on at

    Add label on form and on Text property copy below code

    Switch(
     drpCountry.Selected.Country, //Country is column name, replace with your country column
     "India",
     "Payment term should be net 30 Days",
     "Japan",
     "Payment term should be Net 45 Days"
    )

     

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 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard