March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
My data set has a value of Set=1, Set=2, etc.
I split the column by the delimiter "=", and now have one column that has "Set" and the other a Whole Number Value. The whole number is now ordered correctly 1 thru 20.
That said, my preference for a user experience would for it to say Set 1, Set 2, Set 3. Is there a way to either concatenate these two columns and maintain the proper order of 1, 2, 3, 4 - 20?
When I concatenate it it reorders as 1, 10, 11 because it no longer sees it as a whole number, similar to the image below when it's in original form.
Thanks.
Solved! Go to Solution.
Hey,
in your model, mark the column that contains "Set 1", "Set 10", "Set 11", ...
In the Data View - Select the menu Modeling - (1) Mark the Column you want to sort - (2) from Sort by Column - (3) Select the column you want to use as SortIndex
Hope this helps
Regards
This video helped! I was looking for ages!
Hey,
in your model, mark the column that contains "Set 1", "Set 10", "Set 11", ...
In the Data View - Select the menu Modeling - (1) Mark the Column you want to sort - (2) from Sort by Column - (3) Select the column you want to use as SortIndex
Hope this helps
Regards
go to the data table view and select the column that has (1,10, 11...) then change the data type to whole number. Then when you back to the report view you should be sorted by number not by text.
Thanks. Kudos!
Thanks. This worked, but I have one question.
For me to achieve the proper ordering, I sorted by the column that is formatted as a whole number.
In essence, I needed to create a column to refernce so that I could have the proper "Sort By". Is this typical?
Hey,
yes whenever you want or have to change the default ordering you have to create a reference column, eg a column called MonthName.
Regards
You can change how a column sorts by going to the Modeling tab. So, for a given column, you set it to sort by another column. In your case, select the "Set 1, Set 2, Set 3, etc." column, go to Sort by Column and select the "Number" column.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
85 | |
69 | |
54 | |
45 |
User | Count |
---|---|
204 | |
106 | |
98 | |
65 | |
54 |