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 / Table Calculated field...
Power Apps
Answered

Table Calculated field based on drop down

(0) ShareShare
ReportReport
Posted on by 75

Hi,

 

trying to get a calculated value based on input from a drop down list but cannot get the syntax right.

 

If(Country = "Vietnam", 30, 0)
 
Country is a drop down field. "Vietnam" is one of the options.
 
How can I get the value from Country drop down and use it in IF formula?
I have the same question (0)
  • Verified answer
    Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    Hi @Lafsen ,

     

    Assuming your options are Dataverse choice fields.

     

    For a Local choice, try:

     

    If(
     Country.Selected.Value = 'Your Country Choice Field (Your Table Plural Name)'.Vietnam,
     30,
     0
    )

     

     

    For a Global choice, try:

     

    If(
     Country.Selected.Value = 'Your Global Choice Field'.Vietnam,
     30,
     0
    )

     

     

    Amik_0-1690539774118.png

     

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

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

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 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard