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 / How to make the field ...
Power Apps
Answered

How to make the field with restrict drawdown list in 'Edit Form' model

(0) ShareShare
ReportReport
Posted on by 42

Hello Power Apps Experts,

 

I create an app for end user to input something, and the data will be kept in Share Point list. Below is a simplified model to explain the issue I met.

cnzhangjia_1-1702882226244.png

In above database, the field 'Function' & 'Responsible' type is 'Single Line of Text', but the Responsible value is a dropdown list filter by Function in Power Apps page by other database as below when creating a new item in sharepoint list.

cnzhangjia_2-1702885234378.png

cnzhangjia_3-1702886105233.png

So this app is working well when create a new item, but the issue happened if end user want to modify the Function & Responsible.

 

For the edit, I am using 'edit form' function, then the type of 'function' & 'Responsible' field is 'Single line of text' as original setting in SP list. 

cnzhangjia_0-1702887033484.png

I tried to change this 2 field into 'Choice', but I can only add all responsible name as option, which means it can't be filtered by functions.

 

Is there any way that that the 'Responsible' field can still be filter by 'Function' field under 'Edit Form' Model?

 

Best Regards,

Zhang Jia

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

    Hi @cnzhangjia ,

     

    Do you want to replace text box with drop down and restrict responsible dropdown list according to function drop down?

    Please try this:

    1.Function drop down:

    Items:Distinct(ListName,Function)
    Default:Parent.Default

    2.Responsible drop down:

    Items:Filter(ListName,Function=FunctionDropDown.Selected.Value,Responsible)
    Default:Parent.Default

     

    Best regards,

    Rimmon

  • Verified answer
    cnzhangjia Profile Picture
    42 on at

    Hi, Rimmon,

     

    Thank you for your reply.

     

    I test your formula, the 'Function' one is working well, but the 'Responsible' met some issue.

    Filter(Function_Responsible_Test,Function=FunctionDropDown.Selected.Value,Responsible)

    This is a warning as below

    cnzhangjia_0-1702946913608.png

    The choice items still show all the name which I set in Sharepoint list, so the filter by Function is not working

    cnzhangjia_1-1702947053697.png

    cnzhangjia_2-1702947209191.png

     

    Could you please advice how to resolve this issue?

  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @cnzhangjia ,

     

    Please modify the formula and Fields property of combo box:

    Filter(Function_Responsible_Test,Function=FunctionDropDown.Selected.Value)

    vmengmlimsft_0-1702949686301.png

     

     

    Best regards,

    Rimmon

  • cnzhangjia Profile Picture
    42 on at

    Hi, Rimmon,

     

    Thank you for your great support. It works now.

     

    Have a good day!

     

     

    Best Regards,

    Zhang Jia

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