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 / If then PowerFx formul...
Power Apps
Answered

If then PowerFx formula column based on choice column

(0) ShareShare
ReportReport
Posted on by 10

I have a choice column in my Dataverse with following choices: "Active", "Inactiv", "Delete", and also with blank values. I want to create a formula column, which displays "No Status" for the blank values, otherwise it takes the values from the choice column. 

This new formula column should optimally be a choice column as well.

I tried this formula, but it didn´t work out:

 

If( IsBlank([crd6c_status]), "Kein Status", [crd6c_status] )

 

I´m grateful for any inputs. 

I have the same question (0)
  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @Dorottya,

     

    I think you need to be able to display as the text value for the output in this case.  I did the following and it worked but had to evaluate all choices...  I had a Breed which had 4 options...

     

    Switch(Breed, Blank(),"No Breed", 'Breed (Cats)'.Siamese,"Siamese",'Breed (Cats)'.Bengal,"Bengal",'Breed (Cats)'.Sphinx, "Sphinx",'Breed (Cats)'.Tabby,"Tabby") 
    

     

    Note, you could also create a "No Status" option in your Choice field and default the value to this to save having to create a new field...  This way it is a valid option in the choice list and defaulted if none selected...
  • Dorottya Profile Picture
    10 on at

    Thank you! That´s exactly what I wanted! 

    Unfortunately the "No status" as default value method didn´t work out for me, since my choice column gets the data automatecally imported, and the blank values are not considered as no value, and because of that those won´t get the label "No status". 

    Anyways thank you for the solution!

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 742

#2
Valantis Profile Picture

Valantis 474

#3
Haque Profile Picture

Haque 358

Last 30 days Overall leaderboard