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 / Updating a label when ...
Power Apps
Unanswered

Updating a label when SharePoint list updates

(0) ShareShare
ReportReport
Posted on by 48

I have build an app for Friday breakfast, where people can go in and change if someone else is bringing breakfast. I have a flow that on Wednesdays sends a team message asking each person on the list if they are participating in breakfast that Friday. Thursday afternoon another flow is sending a message telling the one that is bringing breakfast, how many people are participating. 

 

The answers from the message send to everyone is saved on a SharePoint list. I would like for the number in the label next to "How many participants" field to update, whenever there is an update to the SharePoint list (meaning somebody answered yes to the teams message). On the SharePoint list I am saving both the answer "yes" and "no" and the records are deleted ones a month, meaning that there could be several dates on the list.

 

How do I get that label to update? For some reason I cannot seem to get it working, so I am thinking that I am trying something wrong.

 

YDRDK_0-1637757816334.png

 

Thank you in advance!

 

Best,

Majken

 

Categories:
  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @YDRDK 

     

    You can try the following:

    Get last Friday's date, the rational is that every day post last Friday should be evaluated.

     

     

    DateAdd(
     Today(),
     1 - Weekday(
     Today(),
     Friday
     ),
     Days
    )

     

     

     (there is room to improve by checking if today is Friday and do something about that)

     

    the above code does the following, it return the last Fridays date as follows:

    rubin_boer_0-1638554874534.png

    rubin_boer_1-1638554936681.png

     

    Noe you have the date you can Filter the data, CountRows(Filter(yourData, theResponseDate >= lastFriday && theResponse = "Yes")) something like that should do it.

     

    hope it helps,

    R

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

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard