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 Apps
Answered

Refresh Function

(0) ShareShare
ReportReport
Posted on by 372

Hi,

 

So I have buttonA which the text property I used for this formula:

CountRows(Filter(WeldingShopBPN, 'Current Location' = "WM0")

 

I want when I add komponen to 'Current Location' = WM0 (by another submit button), text (on buttonA) can automatically reload the new data.

 

The current condition, I should back to main page, than back again to previous page, so the text (on buttonA) can update new data. What I want is when I click that another submit button, the text can update automatically without back to main page. 

 

How to do it? Thank you

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @firda59 ,

     

    On the submit button, after submitting formula you can add the refresh function:

     

    SubmitForm(Form1);Refresh(WeldingShopBPN)

     

     

    To avoid encountering delegation issue, you'd better use a CountIf function instead CountRows:

    CountIf(WeldingShopBPN, 'Current Location' = "WM0")

     

    Best regards,

  • firda59 Profile Picture
    372 on at

    @v-jefferni 

     

    I used Refresh(WeldingShopBPN), but cant work, because it is a collection.

    this is the collection formula: 

    ClearCollect(
    WeldingShopBPN,
    Filter(PergerakanKomponen, 'Current Area' = "Welding Shop")
    )

     

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @firda59 ,

     

    You can do it without collection:

    CountIf(PergerakanKomponen, 'Current Area' = "Welding Shop" && 'Current Location' = "WM0")

     

    Best regards,

  • firda59 Profile Picture
    372 on at

    @v-jefferni 

     

    thankyou!!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard