Hi @Noys ,
could you please add example data and the calculation in QuickSight Arena? That makes it easier to help you.
Best regards, Nico