Forum Discussion
Sort alphanumeric column by an numeric column
- 7 years ago
Hi Anonymous ,
Finally got it to work.
My problem was the added Calculated column X (with the sort order) depended on another Calculated column Y which I wanted to sort by X.
Cheers, Julian
Hey,
I guess this is what you are looking for: https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column#sort-using-the-sort-by-column-button
Please be have a look for the section "Sort using the Sort by Column button" on the above mentioned site. You have to order the columns in the table that you are using in your visuals.
Regards,
Tom
Guten Abend Tom,
I keep getting a message "Sorting on a different column: This column cannot be sorted by a column which has already (direct or indirect) been sorted by this column."
My sort by column is a calculated column. Not sure if this is important.
Cheers, Julian
- Anonymous7 years agoNot applicable
HI jjr333 ,
You can create a calculate table to achieve this, please refer to following blog to know more about this:
Please understand that this link is provided with no warranties or guarantees of content changes, and confers no rights.
Regards,
Xiaoxin Sheng
- jjr3337 years agoAdvocate I
Hi v-shex-msft,
Thank you, unfortunately I still can't get it to sort properly.
It sorts the column "Wind Dir" in the fact table alphabetically.
"Wind Dir" in the fact table is a calculated column, not sure if this is of importance.
J.
support table, for sorting
fact table
relationships
- Anonymous7 years agoNot applicable
HI jjr333 ,
You need to extract category value from fact table and add index field, then configure 'sort by column' feature on new table category fields and create relationship.
After these steps, You can use custom sort table fields to replace original table column fields.BTW, I don't think it is possible to custom direction axis for radar chart.
Regards,
Xiaoxin Sheng