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 / Option Set Specificati...
Power Apps
Answered

Option Set Specification error

(0) ShareShare
ReportReport
Posted on by 6

Hi,

 

I want my text field to display just the job cards with 'job status' as 'problem solved'. However when I try doing this using the value and name of the option, it shows an error.

snip1.JPGsnip2.JPG

 

Please help with this error.

 

Thank you 

Categories:
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @AnjaliAnil 

     

    To resolve this, you can update your expression in two ways, please replace the written expression with the Job Status part in your expression.
     
    1) Convert the Option Set column value to Text value
    Text('Job Status') = "problem solved"
     
    2) Compare with the Option Type field value:
    'Job Status' = 'Job Status (Job Cards)'.'problem solved'
     
    The highlighted part is the convention for 'Column Name (Entity Name)'.Option
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    HI @AnjaliAnil ,

    Do you want to filter your 'Job Cards' records based on the "Job Status" column value?

    Is the 'Job Status' a Option Set type column/Two Options column in your 'Job Cards' Entity?

     

    Based on the formula you provided, I think there is something wrong with it. I have made a test on my side, please consider modify your formula as below:

    CountIf(
     'Job Cards',
     'Customer Asset'.crbb4_customerassetid = AssetListGallery.Selected.crbb4_customerassetid && 'Job Status' = [@'Job Status'].'problem solved'
    )

    Note: The 'Job Status' represents the Option Set name which binds to the 'Job Status' column in your 'Job Cards' Entity.7.JPG

     

    Please consider take a try with above solution, then check if the issue is solved.

     

    Best regards,

  • AnjaliAnil Profile Picture
    6 on at

    Hi @yashag2255 

     

    Thank you for you help but unfortunately both these formulae still gave error.

  • AnjaliAnil Profile Picture
    6 on at

    Hi @v-xida-msft 

     

    Thank you so much! It solved my error 🙂

     

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard