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 / How to append rows in ...
Power Apps
Answered

How to append rows in a gallery

(0) ShareShare
ReportReport
Posted on by 52

I have a gallery for which i retrieve data where the All Locations boolean field is true.

In the items of the gallery i use the formula 

Filter(ABC Table,Active=true,'All locations'=true). 
I have another field called Location which will enable only if All Locations field is false.When I use the below formula i retrieve the records of those that are pertaining to the user's location
Filter(ABC Table,Location= USerlocation).  where USerlocation is a vaiable storing the login user's location.
In my gallery I have to display records which have All location set to true as well as those records which are mapped to the user's location. How can i append these two set of rows and display it in my gallery?
Categories:
  • Verified answer
    Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at
    Filter(ABC Table,Or(And(Active=true,'All locations'=true), Location=USerlocation)). 

    That should do it

  • Verified answer
    Ramanachiappan Profile Picture
    179 Moderator on at

    Hi  @Amer1,

    Try this one,

    Filter(ABC Table,(Active=true && 'All locations'=true) || Location=USerlocation) 

     

    Best regards, 
    Ramanachiappan M

     

    If my response was helpful, please select "Accept as solution" to close the item. Your thumbs up would be highly appreciated if you found it useful. Thank you!

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 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard