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 / “Live” data from exter...
Power Apps
Unanswered

“Live” data from external sources in Gallery

(0) ShareShare
ReportReport
Posted on by 18

Hi! Building my first PowerApp and on one screen I show a list of store locations as items in a Gallery. Within the Gallery Item, I display the name of the location, and under that I have additional text labels that show information about that location, like number of upcoming events and number of recent customers. To achieve that, in each label, I am using a CountIf on a Filter of items in a different SharePoint list, matching by the related column. This data changes externally every minute or so, so I’ve added a timer to the screen to refresh the locations data source every 30 seconds. 

It all works, but I don’t like using the refresh function there, and I’m pretty sure I could be doing the logic more efficiently overall, so I’m hoping to get some input. Oh yeah, my biggest complaint is that when the locations data source refreshes, the labels doing the related lookups all visibly flash and reset, which I want to avoid. I don’t think hiding them briefly is the answer either. Anyway, thank you!!!

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @SSMinnow ,

    If you are changing a data source outside Power Apps, it has no way of knowing that the information has been changed (whereas PA changes mostly refresh any control directly linked to the data automatically).
    You can try resetting the Form or Gallery (forcing it to re-query) , but I believe the user experience would be the same, so unfortunately with the model you are working with, what you are doing is probably the best option.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • SSMinnow Profile Picture
    18 on at

    Many thanks! 

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard