thank you so much for your helpNot as a calculated column but as a measure:
PreviouWeekCustomer:=
VAR a = MAX ( 'Table1'[Date] )-7
VAR d =
CALCULATE (
MAX ( 'Table1'[Date] );
FILTER ( ALL ( 'Table1' ); 'Table1'[Date] < a );
VALUES ( 'Table1'[Customers] )
)
RETURN
CALCULATE (
SUM ( 'Table1'[Value] );
FILTER ( ALL ( 'Table1' ); 'Table1'[Date] = d );
VALUES ( 'Table1'[Customers] )
)