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 / Refresh two data sourc...
Power Apps
Answered

Refresh two data sources using button and boolean

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have set up a button to refresh two data sources in a gallery of a canvas app.

 

One data source updates a table, and the other updates a chart. 

 

The action is set to "OnSelect" = Refresh('DataSource1') And Refresh('DataSource2')

 

I am wondering about the "And" operator, and if this is the correct syntax to get the button to update both data sources?

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at
    Hi,
    A semicolon would be sufficient...
    Refresh(Ds1); Refresh(Ds2)

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