Hello Power Apps gurus. I am in some desperate need of assistance. I have run into a situation that I can’t seem to find an answer to or not sure if it is even a possibility. I will try to explain this as best as I can.
My app has a gallery that pulls from a SharePoint List. Everything in my app works, but I wanted to provide my leadership a visual accounting of the work that is being done. Right now, I have a host of labels that contain formulas to calculate and filter the data that I need. Here is a current example.
Task By Category:
Category 1: 19
Category 2: 25
Category 3: 2
Category 4: 17
Each number is a label that is filtered individually with the formula noted below.
CountRows(Filter(Gallery9_2.AllItems, 'Department Column.Value <> "No", 'Category'.Value = "Category1"))
I was trying to put together a bar chart to visualize the data the formula below, but it only allows the one series. Therefore, the charts will show the four category labels, but the amounts are all for category 1 rather and each represented category (not sure how to pull number for each of the categories into the chart).
AddColumns(GroupBy(AddColumns(‘SP LIST NAME’, "Category1", 'Category'.Value),"Category1", "GroupData"), "Name", CountRows(Filter(Gallery9_2.AllItems, 'Department Column.Value <> "No", 'Category'.Value = "Category1"))
This is not the exact chart but an example of how the data is represented.
Is there a method or work around to represent this data in a chart. I would like to stay with the gallery to avoid any delegation issues as I would like the user to be able to filter the data by date for their analysis. Currently, the numbers are adjusted based on the filters the user inputs into the gallery.
Any guidance is greatly appreciated.