Forum Discussion
Sorting Legend in a Line Chart
alena2k - Tks! As you can guess I am still a newbie so would appreciate if you could post a sample formula of sorts of how I would define that new column?
Appreciate your time!
I hope that something like this will help you:
Last Reported Rank =
RANKX(Categories,
CALCULATE(SUM('Sales'[Sales]), 'Sales'[Date] > EOMONTH(NOW(), -1),'Sales'[Date]<= EOMONTH(NOW(), 0))
,,DESC)
I assume that yiy have Caregories table where you can setup sorting by this column.
- dkinchit7 years agoNew Member
Thanks alena2k...sorry I just saw this so will try this now. Will update soon.
- momedina7 years agoFrequent Visitor
Any luck with the solution provided? I have been trying to solve (almost ) the exact same problem for last couple of weeks and can't seem to hit it right. I try sorting by column but it gaveme an error