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 / Add filter to gallery ...
Power Apps
Unanswered

Add filter to gallery based on calculated column from sharepoint list

(0) ShareShare
ReportReport
Posted on by 54

Hello, I am quite new to power apps and right now I'm trying to build an app where the user can perform read and update operation on Sharepoint list record directly from the app. I followed a helpful tutorial from Reza Dorrani youtube channel about editable grid.

 

Unfortunately, I am facing difficulties when trying to add a filter based on a calculated column from my sharepoint list. Is there any proper way to accomplish this? 

 

Here is the calculated column on my sharepoint list:

YogaLayang_0-1663034358737.png

YogaLayang_1-1663034389639.png

 

And here is the editable grid with filters on my power apps:

YogaLayang_2-1663034777507.png

Fetching the data from sharepoint list to gallery using collection:

YogaLayang_3-1663034879910.png

 

Any help is much appreciated!

 

 

 

 

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @YogaLayang 

    PowerApps does not work well with SharePoint calculated columns. Do the calculation in PowerApps and use that to filter your data.

  • YogaLayang Profile Picture
    54 on at

    Thank you for the reply. I followed your suggestion and change the calculation directly in the Index FHO column in my power apps. Though now it is displaying the rows of data correctly as in the sharepoint list, I'm still struggling on how to apply the filter for the Index FHO column since it is now an independent and separated column not belonging to the collection that is connected to the original data source. Would you care to elaborate on how to implement the filter?

     

    Thanks in advance

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @YogaLayang 

    Use AddColumns() to add it to the list and then include it in the 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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard