Forum Discussion
INDEX function issue
- 1 year ago
Please provide sample data that fully covers your issue, in a usable format (no screenshot).
Please show the expected outcome based on the sample data you provided.
hi there! In addition to the order by direction you need to re-define the contest for SUM() using CALCULATE:
measure = INDEX(1, ALLSELECTED('Table'[store]),
ORDERBY(CALCULATE(SUM('Table'[sold]), REMOVEFILTERS('Table'[city])), DESC))- Anonymous1 year agoNot applicable
hi! thank you! unfortunately, that didn't really help 😞
here is what i got using your solution, looks same to me. what can be the source of the problem?- lbendlin1 year ago
Super User
Please provide sample data that fully covers your issue, in a usable format (no screenshot).
Please show the expected outcome based on the sample data you provided.- Anonymous1 year agoNot applicable
Hi Anonymous,
As suggested bu super user can you please provide sample data that covers your issue with expected output, it will be helpful for us to address your issue more effectively.
Regards,
Vinay Pabbu