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 / Edit Form Value based ...
Power Apps
Answered

Edit Form Value based on Dropdown Value

(0) ShareShare
ReportReport
Posted on by 196

Hi 

 

I have a dropdown. Items equals Products which a table

 

I have a form where I want to show the Products based on the selected value in the dropdown.

The DataSource is 

Filter(Products,Product = Dropdown1.Selected.Product)
 
In the Product text field I have -
Dropdown1.Selected.Product
 
In editing, I can see it, but when I preview its blank?
rosscortb_0-1707316485197.png

 

Any ideas please?
 
Thanks
Ross
Categories:
  • CU06020527-0 Profile Picture
    on at

    @rosscortb 

    Can you please add some screenshots of the same?

  • Verified answer
    PowerDeveloperTP Profile Picture
    453 on at

    Hello,

     

    could you please try changing the default mode of the form to 'new' and see if this works.

     

    TP18_0-1707326372197.png

     

    Thanks.

     

    Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
    This helps others find solutions to future issues!

  • rosscortb Profile Picture
    196 on at

    @TP18 That worked, thanks. I'm sure I tried that before and it didn't seem to work.

     

    The top dropdown works with the form, it updates depending on the selection. Only problem is the category field which is also adropdown and isn't pulling through the value. I have dropdown1.selected.category but doesn't work?

     

    Any ideas?

    Thanks

    Ross

  • PowerDeveloperTP Profile Picture
    453 on at

    Hello @rosscortb 

     

    You don't have to manually bind every controls in edit form, instead you can use below formula in item property of edit form

    LookUp(datasource,products=Dropdown.Selected.product)
     
    below formula is used in items property of drop down to get values of product
    TP18_0-1707490019274.png

     edit form items property - LookUp(datasource,products=Dropdown.Selected.product)

     

    TP18_1-1707490051616.png

    make sure data source is pointing to the list

     

    Thanks.

     

    Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
    This helps others find solutions to future issues!

  • rosscortb Profile Picture
    196 on at

    Hi @TP18 

     

    My dropdown source if from a Dataverse table called products. The column is called category and its a drop down with choices, whisky, gin etc. 

    So I have duplicate values, in the dropdown though. 

     

    rosscortb_0-1707738045246.png

    I have no formula error but the form shows no data.

     

    rosscortb_1-1707738095065.png

     

    Any Ideas?

     

    p.s following on, I got "All", but I don't have a whisky or gin option in the dropdown, 

     

    rosscortb_0-1707751865790.png

     

    Thanks again

    Ross

     

  • PowerDeveloperTP Profile Picture
    453 on at

    Hello @rosscortb ,

     

    you can configure item property of your edit form with below formula

    LookUp(Products, category=Dropdown1.Selected.Value)
     
    TP18_0-1708000063744.png

     

    this is my dataverse table

    TP18_1-1708000086306.pngTP18_2-1708000117891.png

    Hope this helps.

     

    Thanks,

    Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
    This helps others find solutions to future issues!

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard