Hi @singleton2787 ,
Try below formula:
State Change Count =
COUNTROWS ( 'Table' ),
ALLEXCEPT ( 'Table', 'Table'[Work Item Id] ),
'Table'[Date] <= MAX ( 'Table'[Date] ),
) + 0
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.