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 Pages / Attribute specified in...
Power Pages
Answered

Attribute specified in the expression is expecting a Picklist. The value provided isn't valid.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, I'm using Condition in the Web Form steps. I'm trying to use the drop down value in the condition and I don't see any document talk about that. I only see the example below 

[entity attribute logical name] [operand] [value]

Example:

new_categorycode = 750101

A condition can have multiple expressions. Parenthesis can be used to group nested expressions.

Examples:

new_categorycode = 750101 & gendercode = 2

new_categorycode = 750101 & (gendercode = 2 | gendercode = 3)

 

let me know if anyone else came across this issue.

 

Thanks,

-Sal

Categories:
I have the same question (0)
  • OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Hi @Anonymous ,

    By dropdown value you mean value from optionset (or choise as it named right now) or from lookup (as you can render it as a dropdown)? Can you tell us what type of field are you using in your condition?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, I'm using choice field with two values in it and the error I'm getting is this:

    Attribute specified in the expression is expecting a Picklist. The value provided isn't valid.

     

    MyChoices have two values A and B and In condition I'm using syntax  MyChoices = A

     

    Thanks,

    -Sal

     

     

     

     

  • Verified answer
    OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Well, the specified error shows that value that you are trying to use in the condition is not valid for the selected option set. Please validate that in the condition you are using the logical name of the field and that value you are using is a value, not a label. If everything that I specified previously is correct I would suggest you open a ticket with MS support as it would look like a bug.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I tested with the logical name of the field but fail, I will reach out to the MS support.

    Thanks,

    -Sal

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 36

#2
Valantis Profile Picture

Valantis 30

#3
omkarsupreme Profile Picture

omkarsupreme 23

Last 30 days Overall leaderboard