Forum Discussion
Charli2516
1 year agoNew Member
If statement not totalling
Hello I need some help with an IF Statement not totalling. I am trying to calculate new customers and lost customers. I have a rolling 12 months calculation current year and a rolling 12 mont...
Bibiano_Geraldo
1 year agoSuper User
Hi Charli2516 ,
please try the bellow measure:
NEW CUSTOMER CY =
SUMX(
VALUES(CustomerTable[CustomerID]),
IF(
AND(
[SALES LY 2023] = 0,
[Sales CY 2024] > 0
),
1,
0
)
)