Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Formula column with IF based on a Choice Column

(0) ShareShare
ReportReport
Posted on by 280
Hello everyone,
 
I want to build a Formula column in a Dataverse table based on a Choice column. Why isn't it working, please? 
 
If('Org. Level' = 'Org. Level'.L4, "Yes", "No")
 
Of course, 'L4' is one of the values...
 
Thank you so much,
 
Alice
  • AliceW Profile Picture
    280 on at
    Formula column with IF based on a Choice Column
    Ronald, 
     
    Outstanding! 
     
    It works! Thank you so much!
     
    Alice
  • Verified answer
    ronaldwalcott Profile Picture
    3,530 on at
    Formula column with IF based on a Choice Column
    Compare the choices using the value, I have created a TestChoice column with these choices. In your choices column you will have an option set similar to below
     
     
    In the formula column create a formula similar to below using the value result
     
    If(Value(ThisRecord.TestChoice) = 696680000,"yyy","nnn")
  • AliceW Profile Picture
    280 on at
    Formula column with IF based on a Choice Column
    Hi Ronald,
    'Org. Level' is a Choice column, same as 'Currency'. 
    I'm trying to write that 'if the Org. Level equals L4 for that row, then x).
  • ronaldwalcott Profile Picture
    3,530 on at
    Formula column with IF based on a Choice Column
    This formula seems incorrect is this a record that you are comparing with a column of the record? 'Org. Level' comparing with 'Org. Level'.L4
     
    If('Org. Level' = 'Org. Level'.L4, "Yes", "No")
  • AliceW Profile Picture
    280 on at
    Formula column with IF based on a Choice Column
    Oh, and I select a different Choice column, which is configured exactly the same (single value), it works! 
     
    What is happening? Why can't I see the value drop-down? :( 
     
    If([@Currency].EUR = Currency, "Yes", "No")

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,658 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard