Forum Discussion
Help sorting column order
- 7 years ago
Hi rosscortb
It could not work when you sort the same value[Start Date and End Date] by different values[Start Date].You may use sort by 'Start Date Mon' as below green part.
Regards,
When you say 'Sort by Column' hopefully you know about https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column#sort-using-the-sort-by-column-button
and you could use the job positions[start date]
- rosscortb7 years agoPost Patron
Yeah, wouldn't let me use Start Date.
- HotChilli7 years agoCommunity Champion
Ah, fine. Error messages are usually helpful.
The message says it doesn't know how to sort because start date is not unique 'enough', that is, the same start date exists for different 'start and end date' values.
So you need to find a way of making it unique, maybe add a calculated column (number) to sort by, constructed from the 'start and end date' field like yyyymmdd from start date and append yyyymm from end date. Just an idea, i haven't tested it.