Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a table with 20 fields. Last x fields are numbers (0, 10, 15, 20, 5).
I expand my table via list function (since I don't know numbers in advance) by typing:
ColNames= Table.ColumnNames ( Table.Combine ( #"Last"[Data] ) ),
Expand1 = Table.ExpandTableColumn ( #"Last", "Data", ColNames ),
I want my numbers sorted from left to right by increasing order. List would mix then (5 is at the end etc). How would I be able to achieve that?
@davidz106 ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Appreciate your Kudos.
I first build a list "Colnames" of All columns in my file.
Sample is:
A
B
C
D
5
10
0
25
15
A B C D are always the same but numbers aren't (numers are not always the same). I would like to sort numbers in increasing order 0->100 and then expand to table but I cannot do that since sorting in list would put number 5 in last place.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.