Announcements
For my Drop down box, I have the following in the Items formula:
Hi @katgifford ,
Could you please try using this formula? If any errors occur, could you kindly provide the error message?
Distinct(Filter(ShoeInventory,ProductCategory = ddByCtgy.SelectedText.ProductCategory),ColumnName)
Best Regards,
Bof
Hi @katgifford
To use the Distinct function, in the Items property of your drop down:
Distinct(ShoeInventory, ProductCatergory)
Please tick Accept as solution if the answer is useful.
Thanks,
@AARON_C
@v-bofeng-msft Thanks. Just want to confirm I would update the "ColumnName" value to ProductCategory
@AARON_C Thanks for the attempt. Now my gallery doesn't show the images or price, etc. only the product category but I do only see one of each in the gallery
Please try:
ForAll( Distinct(ShoeInventory,ProductCategory), LookUp(ShoeInventory,ProductCategory=Value) )
Hello @v-bofeng-msft ,
I tried using that update and it still doesn't work. It doesn't give an error, the drop down still shows duplicates when I play the app.
Thanks.
@katgifford
But doesnt your dropdown only need to show the category of the shoe? You should be filtering the gallery based off the drop down.
Did you place the code into the dropdown control.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 936
Valantis 604
11manish 518