Above is my SharePoint list. It's daily entry of candidate who are taking training with us. Daily sessions happens. And for every session attendance is recorded for candidate through choice column of SharePoint.
My Requirement:
Create a flow that will go through the above list and count how many times candidate was absent. There is another list called absent count. If candidate name is not in that list it creates the entry if it is there then just update the absent count. So in that list i have candidate names and how many days they were absent.
PS: This is one time operation so manual trigger is fine.
Solved! Go to Solution.
Hi @zmansuri,
One approach could be to just create a list view. This way you will get total absent number per Name in a view on the list itself.
1. Filter on presence is No
2. Group By Name and use a Totals > count
If the view isn't sufficient you can retrieve those values with a Send an HTTP request to SharePoint action by using the RenderListDataAsStream method. Let me know if you need any help with that.
Hi @zmansuri,
Just to double check.
Both the registration of the candidate and the presence/absence of a candidate are registered in the same Training_Days list? In other words, the Presence value would be set to no if the candidate is absent?
Yeas data is like this:
Name | Presence |
John | No |
John | Yes |
Jane | No |
Jane | No |
And i want to store it in another list like this:
Name | Presence |
John | 1 |
Jane | 2 |
Hi @zmansuri,
One approach could be to just create a list view. This way you will get total absent number per Name in a view on the list itself.
1. Filter on presence is No
2. Group By Name and use a Totals > count
If the view isn't sufficient you can retrieve those values with a Send an HTTP request to SharePoint action by using the RenderListDataAsStream method. Let me know if you need any help with that.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
71 | |
22 | |
17 | |
17 | |
13 |
User | Count |
---|---|
125 | |
34 | |
31 | |
28 | |
26 |