web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How can I refer to a c...
Power Pages
Unanswered

How can I refer to a choice column from a dataverse formula column

(0) ShareShare
ReportReport
Posted on by 338

Hi there

I can refer to a text column from a dataverse formula column, but when I try to refer to a choice column, it gives an error (see screenshot below where Name Prefix is a choice column).  It wants text and I suspect the error is because a choice is stored as a number, but I can't see how to refer to the text choice values and avoid the error.

Any suggestions?

 

 

MJWhite_0-1712050473025.png

 

Categories:
I have the same question (0)
  • Verified answer
    Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hello @MJWhite 

     

    Currently, Power fx columns in dataverse can’t use Choice (option set) columns in formula.

    https://learn.microsoft.com/en-us/power-apps/maker/data-platform/formula-columns?tabs=type-or-paste#data-types

     

    what is the use case you are trying to do?

  • MJWhite Profile Picture
    338 on at

    Thanks for the link.  Saves me looking further.  I'll shortly accept your reply as a solution.

     

    I frequently want to do two things:

    • Concatenate text from a text column with text from a choice column, as per the above example
    • Use text from a choice column in an IF statement, either as part of the conditional test, the true response or the false response

    For the moment, I'll continue to use real-time workflows as they can do the above and:

    • Work on the Primary Name column
    • Refer to data in related tables

    I was investigating the Power Fx column because I'm nervous that Microsoft might discontinue functionality which looks old but works (real-time workflows) with functionality that isn't yet fit for purpose but looks new (Power Fx column).

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard