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 / Suppressing Work Title...
Power Apps
Unanswered

Suppressing Work Titles when in Cancelled Status

(0) ShareShare
ReportReport
Posted on by 50

Hi,

 

I have a dropdown menu on one of my forms called "Project Name". By using "Choices([@'Resource Management'].'Project Name')" in the Items, I have pulled in all the Project Name choices from my SharePoint list. Easy.

 

BUT, a couple of the projects on that list have now been cancelled and have been recorded as "Cancelled" in another column in my SharePoint list called "Work Status".

 

My question is this...

 

How can I remove the projects in "Cancelled" status from the "Project Name" dropdown list? 

 

I know I could just remove the cancelled projects from the SP list, but we want to keep them there. I also know I could suppress them by their project name, but I would have to do that manually for every project that gets cancelled in the future. So, how can I get the "Project Name" dropdown list to not show projects in "Cancelled" status automatically?

Categories:
I have the same question (0)
  • v-hanytian-msft Profile Picture
    Microsoft Employee on at

    Hi @EuniceG11 ,

     

    May I ask what relationship between Resource Management and Work Status?

    What is the type of ‘Project Name’?  Is it Lookup?

     

    Let us assume its type is Lookup and created two lists below.

    vhanytianmsft_0-1690252955190.png

     

    vhanytianmsft_1-1690252955191.png

     

     

    Insert a form in the Canvas app.

    Items of the DataCardValue:

    Filter(Choices([@'Resource Management'].ProjectName),Id in Filter('Work Status',Status.Value <> "Cancelled").ID)

    vhanytianmsft_2-1690252955195.png

     

    Update of DataCard:

    DataCardValue2.Selected

    vhanytianmsft_3-1690252955198.png

     

     

    After select one option the data can be stored in the SharePoint List.

    vhanytianmsft_4-1690252955199.png

     

     

    Hope this will help you,

     

    Best Regards,

    Tina

  • EuniceG11 Profile Picture
    50 on at

    Hi Tina,

     

    THANK YOU for the very detailed response! I truly appreciate it!

     

    In answer to your questions:

    1. 'Resource Management' is the name of the SP list.

    2. "Project Name" is a LookUp column and is pulling data from another SP list called "PMO Portfolio List"

     

    When I tried the step above on the data value card, it underlined the last part in red.

     

    EuniceG11_0-1690299024652.png

     

    The details of the error said the following:

    EuniceG11_1-1690299233688.png

     

     

    The column definitely still exists in the SP list. I think the problem is that the 'Project Name:Work Status DL' column (aka Work Status) is also a LookUp column pulling info from the same list as Project Name (SP list name is PMO Portfolio List).

     

    EuniceG11_2-1690299380653.png

     

    How would I adapt the formula as a result of this.

     

    Thank you in advance.

     

    Yours,

     

    Eunice

     

     

  • v-hanytian-msft Profile Picture
    Microsoft Employee on at

    Hi @EuniceG11 ,

     

    Please try this:

    Filter([@PMO Portfolio],...)

    Operators and Identifiers in Power Apps - Power Platform | Microsoft Learn

    vhanytianmsft_0-1690333320191.png

     

    Hope this will help you,

    Best Regards,
    Tina

     

     

     

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 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard