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 / Selection based data s...
Power Apps
Unanswered

Selection based data source

(0) ShareShare
ReportReport
Posted on by 9

My goal:

 

I'm building an app to edit inventory lists.

Upon launching the app, the user is supposed to select a category. 

Based on that selection, the right list should be made in a gallery on a new screen.

 

That gallery is created by pulling data from an Excel table in a collection. This collection is then edited, when the user clicks on a certain button, all the changes get patched to the Excel table again.

 

My problem occurs when I try to create the collection based on the selected category in a dropdown list.

I just don't see a way to be able to create a collection from a variable data source.

 

Do any of you know a way to achieve this?

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Hey!!!

    First of all, Excel does not allow multiple filter. So, my first suggestion is for you to create the collection on App Start with ALL items from excel and update that colelction when you write on the excel. 

    After that, filter that collection. Something like this:

    Filter( NameOfYourCollection, Category = DropDown1.Selected.Value)

    Something like that

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • WarrenBelz Profile Picture
    155,940 Most Valuable Professional on at

    Hi @MAPA_James ,

    Can you please share the code (in Text) that is not working for you and also a brief description of what you are trying to filter.

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 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard