Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi Fam,
I have made groups and wanted to know if there is a better way of arranging the groups in ascending order.
It should start from
1-5 minutes
5-15 minutes
_
_
_
_
6days to 7days
More than 7 days.
Solved! Go to Solution.
The usual way to do this is to create an additional column in the same table to act as a "sort by" column (documentation page).
This new column would typically be an index of some sort, corresponding to the sort order.
Each value of the existing column must map to a single value in the "sort by" column.
Note that the "sort by" column cannot be a DAX calculated column that references the original column, as this creates a circular dependency (due to the inner workings of this feature).
e.g.
Sign-up to First Order Time breakdown | Sort |
1-5 minutes | 1 |
5-15 minutes | 2 |
... | ... |
Once created, select the original column > Column Tools > Sort by column > select the new column.
Regards,
Owen
The usual way to do this is to create an additional column in the same table to act as a "sort by" column (documentation page).
This new column would typically be an index of some sort, corresponding to the sort order.
Each value of the existing column must map to a single value in the "sort by" column.
Note that the "sort by" column cannot be a DAX calculated column that references the original column, as this creates a circular dependency (due to the inner workings of this feature).
e.g.
Sign-up to First Order Time breakdown | Sort |
1-5 minutes | 1 |
5-15 minutes | 2 |
... | ... |
Once created, select the original column > Column Tools > Sort by column > select the new column.
Regards,
Owen
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
34 |
User | Count |
---|---|
95 | |
78 | |
52 | |
49 | |
47 |