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 / How to retrieve Choice...
Power Apps
Unanswered

How to retrieve Choices (option set) value in power app canvas from data verse for custom field

(0) ShareShare
ReportReport
Posted on by 23

2021-10-26 13_54_13-Power Apps - Brave.pngHow to retrieve Choices (option set) value in Power Apps Canvas from data verse for custom Field

Basically, I am creating custom updation. where I want to show user its selected option set value in from field which he/she had selected while creating from (creating new record).

In my case Field name (Column) is 'Reviewer Profile' which is the choices (option set). and I have created Lookup for that as you can see in screenshot and also global variable to store value.

As you see I'm using lookup for filtering column to get signed User 'Reviewer Profile' Value.

but I'm getting error you can see bottom of screenshot This Data type is unsupported for evaluation.

Try to help me on this issue. Thank You - @Krypton 

 

Categories:
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Krypton Can you share the Table schema and a screen shot of the error message.

  • KRYPTON Profile Picture
    23 on at

    I have updated image

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Krypton You'll see the record with a statement like this,

    CNT_0-1635242916294.png

     

    But because you are reducing it to a single column, you can't see the record. Use a statement like the one above and then do reviewProfileValue.yourColumn to get the value.

  • KRYPTON Profile Picture
    23 on at

    Thank you for that @CNT I tried this but still it is not working I guess . Any idea?2021-10-26 19_17_09-Power Apps - Brave.png

    Note : Reviewer Profile is Choices (Option set)

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Krypton 'Reviewer Profile' is not a standard column. I believe it's a custom column that you have added. So I'm not sure what its DataType is. You will have to figure it out based on the DataType.

  • paulbeck1 Profile Picture
    244 on at

    This is a Choice column, then you are using an options set to hold the values.  The refer to the options set use the syntax: [@'ChoiceField'].Option3

    In the example below, I have a table "Tax Returns", Each Return belongs to a business, and there is a column "AType" that is an optionset, the possible values are "Annual, Company, Registrar", in the example below, there are 3 records for each Business, so if I filter on BusinessId, I'll get 3 results.  I only want the result that has the option of "Annual", below is the code.

    paulbeck1_0-1670721743599.png

     

    Tip:  This works if you know the static Option set value you want.  If the OptionSet value is dynamic, you may need to use a global variable to help define the Option item you want to query with.

    paulbeck1_1-1670722464806.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard