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 / Refreshing twitter use...
Power Apps
Answered

Refreshing twitter usertimeline / Power BI tile

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello!

 

I've set up succesfully twitter usertimeline and power BI tiles from my data to my application. But I have not yet figured out a way to refresh those. For me it seems that only way to refresh is to close application and open it again.

 

Any help would be appreciated!

 

br,

markku

Categories:
  • Verified answer
    v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please share more details about how you setup the twitter user timeline and the Power BI tiles in PowerApps?

    Twitter connection in PowerApps

    If here you are using the twitter function within a gallery, we could take use of the following method to manually refresh the returned value:

    1. Add a button, copy and paste the following:

    UpdateContext({Twitterrefresh:true});UpdateContext({Twitterrefresh:false})

    2. Under the items property of the Gallery, change the formula as below:

    If(Twitterrefresh, Twitter.HomeTimeline(),Twitter.HomeTimeline())

    3. Add the following code under the OnVisible property of the Gallery screen:

    UpdateContext({Twitterrefresh:true})

    Step 2 would have the Gallery to check if the variable has been updated, there is no difference for the true or false, the purpose of the variable here is to force the twitter service to send a new call.

    Step 3 is used to set the variable an initial value.

     

    For Power BI tiles, I don't think it is available to update it within PowerApps, as currently there is no function to manually refresh it under PowerApps:

    Data refresh in Power BI (Tile refresh)

     

    Regards,

    Michael

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Michael,

     

    twitter function I'm using within a gallery. Power BI; I've just added a PBI tile control to blank page and selected the dashboard/tile I want to show. Having PBI refreshed is not too critical for me.

     

    I'll try twitter refresh solution and reply once done

     

    thanks!

     

    -markku

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello,

     

    twitter solution tested and seems to work. I replaced a button with timer.

     

    thanks!

    markku

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

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard