Hello, So i have a data table which i have to add a number of extra columns to. One being a percentage of the score vs the potential score. I now want a sum of the filtered data table (so it only shows the sum for that month for that agent) but i can not work it out I have tried, but it doesnt work:
Sum(Filter(Table1, Agent ' = Dropdown2.Selected.'Agent Name ', Label4.Text = Text(MonthStats)), Percentage)
This is the formula in the data table:
Filter(AddColumns(AddColumns(Table1, "MonthStats", Text(Month(Date_x0020_)), "FormattedDate", Text(Date_x0020_, "[$-en-GB]dd/mm/yyyy"), "Score", If('Did the response resolve their enquiry?'= "Yes", 10, 0), "PotentialScore", 10),"Percentage", Sum((Score / PotentialScore)*100)),'Agent ' = Dropdown2.Selected.'Agent Name ', Label4.Text = Text(MonthStats))