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 / Conditional dropdown s...
Power Apps
Unanswered

Conditional dropdown selection to hide and show items of fields

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi guys,

I'm new to Power Apps, I'm facing this issue.

VivekKumar12_2-1616044564979.png

 

This is a PA form when I select Projects value in Time entry field the below two fields are enabled Project and Project Role but when I change to other option like this

VivekKumar12_3-1616044609462.png

 

Project and Project role are hidden for other option selected except Projects option in time entry field. 

Everything is working fine but problem is coming when I edit any existing records of list and try to change the Time Entry field option when I'm changing the option from Projects to other options the below two fields disabled automatically which is fine but when I save this form after making changes the value of Project and Project Role remains in list which was existed for Projects option before editing.

 

So what I need here when I edit the existing records so value of Project and Project Role also wipe from SharePoint list when I select options other than project in time entry field.

 

Thanks in advance.

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

    Hi @Anonymous :

    Do you need such a function:

    When you change the value of "Time Entry Type" of an item with the value of "Project" in an existing "Time Entry Type" field to other options, clear its "Project" and "Project Role" values.

    Is the project a drop down control or a combo box control?
    Is Project Role a drop down control or a combo box control?

    I assume project and project role are all combo box control.Please try to set their DefaultSelectedItems to

    If(
    
     TimeEntryType.Selelcted.Value ="Project",
    
     Parent.Default,
    
     Blank()
    
    )

    note:please modify the formula according to your actual situation

    Best Regards,

    Bof

     

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard