Forum Discussion

alpertakci's avatar
alpertakci
Copper Contributor
Sep 15, 2022
Solved

Dynamic filter condition of a filtered dynamic array

I am sure this has been answered before but I don't think I am able to compose the correct search query to find it on any support site. To summarize, (I am assuming) I need to use the FILTER function...
  • Harun24HR's avatar
    Sep 15, 2022

    alpertakci You nest FILTER() function twice. Try-

    =SUM(FILTER(FILTER(Annual_Sales,Annual_Sales[#Headers]=$D$18),Annual_Sales[Sales_Executive]=C20))

    For dynamic spill array approach use BYROW() function.

    =BYROW(C20:C22,LAMBDA(x,SUM(FILTER(FILTER(Annual_Sales,Annual_Sales[#Headers]=$D$18),Annual_Sales[Sales_Executive]=x))))

     

Resources