=
CALCULATE (
    VALUES ( AgeBands[ID] ),
    FILTER (
        AgeBands,
        Customers[Age] > AgeBands[From]
            && Customers[Age] <= AgeBands[To]
    )
)
Code beutified with Dax Formatter by SQLBI