I have SharePoint list Called "Workflow" another list called "Procuremetn Tracker".
One of the column (Status) in Procurement Tracker is lookup from Work flow.
In PowerApp i need total total count of each status in "workflow" gallery.
Hi @raneesh_mr ,
Still in the Items of the Procurement Tracker Gallery, formula set as below and I recognized that you would like to count the total number rather than the rows:
AddColumns('Procuremetn Tracker', "TotalNumber", Text(Count(Filter(Workflow, Status.Value = ThisRecord.Status).'Total Count')))
To be clear, you cannot count the total count to the workflow table, it has duplicate and bland Status, it doesn't make sense.
Best regards,
I need status count into workflow because then it show all the workflows including the status not selected in the Procurement Tracker.
It indicate the work load of the department.
Hi @raneesh_mr ,
Workflow table has a Status column LookUp from Procurement tracker table, and in the Gallery, items is Procurement tracker table as well. I don't understand why you need to add the total count into workflow table?
BR,
I need to count rows value into "WorkFlow" table. In your query adding "TotalNumber" into Procurement tracker.
Hi @raneesh_mr ,
Just copy my codes and paste in the formula bar, you have dropped the Text function and added the additional .Value in the end.
Best regards,
Hi @raneesh_mr ,
OK I understand. For the Gallery, you will need to get respective total number in each line from anther list. So please try below formula in Items of the Gallery:
AddColumns('Procuremetn Tracker', "TotalNumber", Text(CountRows(Filter(Workflow, Status.Value = ThisRecord.Status))))
Then you can set Text of the Label within the Gallery to ThisItem.TotalNumber to display the results.
Best regards,
Hi @v-jefferni ,
I have a SharePoint list (AAA). In AAA one column (Status) is lookup from another SharePoint list (BBB)
In PowerApp I have Gallery and items from BBB. I need to get count of items in AAA in this gallery.
Hope I clarified.
Hi @raneesh_mr ,
Could you please share more details about your scenario? Where would you like to display the summed total count?
Best regards,
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473