'Accumulative meassure not by date, but by text

Is there a way to get an accumulative meassure not by date but by any other context?

I have a 'Table' that has a 'clasificacion' column (text) and and 'orden' column (integer). My measure works with 'orden' column but not with the 'clasificacion' column. I need my accumulative measure that works with the 'clasificacion' column.

Thanks.

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source