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 / PowerApp Filter from s...
Power Apps
Answered

PowerApp Filter from source data

(0) ShareShare
ReportReport
Posted on by 34

I created a PowerApp form ( pic 1, above) and want to filter data from the other source ( Sharepoint Online list) that is pulled in the PowerApp ( show pic 2, below one). Is there a way to filter data from the source ( real time pass the parameters, and group them by category required)? For example, if Date is selected as Dec 12, then Scada Time on Dec 12 would be filtered out. 

 

 

Pic1.png
Pic2.png
Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @leung2019 

    It sounds like you are asking general questions about your app requirements.  I will respond here in general terms as well rather than attempt to solve the problems fully.

     

    Can I filter data in the gallery with multiple filters?

    Yes, you can.  It looks like you have a form and a gallery based on the same datasource.  You would use some code similar to this in the Items property of the gallery.  I will not write out the full solution because there are way too many fields here and alot of unknowns for me

    Filter(
     your_datasource_name,
     IsBlank(DatePicker1.SelectedDate)=true Or Date = DatePicker1.SelectedDate,
     IsBlank(Dropdown_Location.Selected.Value)=true Or Location = Dropdown_Location.Selected.Value,
     IsEmpty(ComboBox_ShiftType.Selected)=true Or ShiftType = ComboBox.Selected.field_name,
     ...
     Deviation= Toggle_Deviation.Value
    )

     

    Can I do this in real-time?

    What is meant by real-time?  Do you mean does the data change immediately in response to the FILTERs applied?  Then yes, it does.  Maybe you also mean can the data be REFRESHed at a regular interval to ensure the current data set?  Yes, you could use a countdown timer set to re-arm automatically and use a REFRESH function each time it ends.

     

    Can I group data by category?

    Yes, you can do this by using the SORT function on the category name.  Also put this code in the Items property like my previous example.

     

     

    Given what I have seen here this looks like a better fit for Power BI.  I do not see any user interaction to alter the data in the datasource here so that's my recommendation.  Of course, I encourage you to do what you feel is best.  Good luck to you!

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 977

#2
Valantis Profile Picture

Valantis 664

#3
11manish Profile Picture

11manish 530

Last 30 days Overall leaderboard