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 Apps
Answered

Filter Choices

(0) ShareShare
ReportReport
Posted on by 353

Hi,

 

is there a way to filter Choice column (in Dataverse table) to not show one specific value from the dropdown list? This would only happen if a user didn't create a record in the previous step? Currently, the user can select any stage, but I want to disallow selection of 'Closed - Won' stage.

 

Screenshot:

sdedic_0-1649320606525.png

This data card Items property is set to Choices(Stage), where Stage is choice column in Dataverse table.

Any advice is more than welcome.

 

Ty.

Best

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @sdedic,

    What do you mean by a user didn't create a record in the previous step?

    Could you please share a bit more about your scenario?

     

    If you want to filter choice values when a user has no created records in your data source, please try to set the Items property as  below:

    If(IsBlank(LookUp(Table,'Created By'.'Full Name'=User().FullName)),Filter(Choices(Stage),!(Value=Stage.'Closed - Won')),Choices(Stage))

     

  • ar87 Profile Picture
    353 on at

    Hi @v-qiaqi-msft,

     

    First of all thank you for your reply and help.

     

    So, in this application user fills in the form and creates a record called 'opportunity' (what I meant by previous step). Once the 'opportunity' is created, the app automatically creates another record called 'project request' and binds/relates it to the 'opportunity'.

     

    Now, during that initial creation of 'opportunity' and 'project request' I don't want to allow users to have all stages in the 'Stage' field, as it doesn't make sense to select 'Closed - Won' stage since the opportunity/project hasn't started or been created yet. However, once this record is created, users have an option to edit the record, thus change the stage and close the 'opportunity'. Only at that point I want stage 'Closed -Won' to appear in the dropdown menu of the 'Stage' field.

     

    Hope this makes things more clear.

     

    Once again thank you for your help and time.

    Best

  • ar87 Profile Picture
    353 on at

    Hi again @v-qiaqi-msft,

     

    the formula you provided above is working. All I needed to do is changing the condition to see if that particular project exists.

     

    Thank you!

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
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard