web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Combobox using choice ...
Power Apps
Answered

Combobox using choice field from Sharepoint

(0) ShareShare
ReportReport
Posted on by 10

Hello guys, I'm stuck at this. I have a form where I need to filter the options from a choice field based on a selected item. To filter simple fields as text in SharePoint it's okay, my problem is getting the values from the choice field in SharePoint. I know that I will probably be using the Choices formula, but I would like to know how can I filter based on a selected item. Can you help me, guys?

 

 

Filter(List of products; Project= Project.SelectedText.Value).Type of product

 

This kind of formula doesn't work because returns a table. I need to figure out how I use this kind of concept to choice fields from SharePoint.

 

 Basically, I wanna get the values from the column "Tipo de produto" based on a selected project.

 

Thanks for your help guys.

Categories:
I have the same question (0)
  • RodCha Profile Picture
    216 on at

    Use in your 'Dropdown/Combobox' in the 'Items' field; this formula is for the Projeto 'Dropdown':

     

    Distinct('List of products', Projeto)

     

     

    Then, in your 'Gallery':

     

    Filter('List of products', Projeto = Dropdown.Selected.Result)

     

     

  • Verified answer
    Pottterzinho Profile Picture
    10 on at

    Thanks for your help @RodCha but my intention was to get the data in a combobox. Now I figured out, I can't use the choices formula because it returns me a table, and the combobox couldn't accept. So after this, I used the LookUp formula that returns the values that I wanted.

     

    LookUp('Lista de escolhas'; Projeto = DP_Projeto.SelectedText.Value).'Tipo de produto'

     

    So, basically, I filter a select item from a choice column on Sharepoint not using the formula choices but using the LookUp formula.

  • v-yujincui-msft Profile Picture
    on at

    Hi @Pottterzinho ,

     

    Glad to see you solved the problem.
    You could mark your answer as a 'solution' to close the case.

     

    Best Regards,

    Charie Choi

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard