I am trying to create a measure with accumulated by rank. It has 2 measures calculated, one being the rank and the other the total_spent. When I create dax I have this syntax er