Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Sakal
Helper I
Helper I

How to re-arrange columns in Power BI Visual

Hello,

By default Power BI arranged them in this format. I'd like to re-arrange them. How do I move column 1 before column 2 in the visual.
Column '90 Days or More' is column one - I'd like to re-arrange it to be in front of column '100 Days or More' which is column 2 in red. Once the re-arrangement is complete, they would list as followed: 

                                                90 Days or More     ||     100 Days or More     ||     130 Days or More

Thanks. Sakal

Sakal_0-1726060757504.png

 

1 ACCEPTED SOLUTION
ray_aramburo
Super User
Super User

1) Create a Conditional column in Power Query (or new calculated column with Dax) where you define the order you desire: If [Field] = "90 Days or More" then 1 else if [Field] = "100 Days or More" then 2 else if [Field] = "130 Days or More" then 3 and name it like "Days Bucket Sorting"

2) Go to Table view and select the field/category column. Go to the upper Column tools menu and select Sort by column

ray_aramburo_0-1726062442721.png

3) Select the "Days Bucket Sorting" column from the dropdown list 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





View solution in original post

4 REPLIES 4
AnkitKukreja
Super User
Super User

Hi! @Sakal 

 

Once you select that visual you can see that information under visualisation, I believe it's a matrix, so you can move the fields by dragging. That order will define which column should be number 1,2 or 3.

 

 

AnkitKukreja_1-1726066760808.png

 

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

It worked with the Conditional column. Thanks for your time @AnkitKukreja

ray_aramburo
Super User
Super User

1) Create a Conditional column in Power Query (or new calculated column with Dax) where you define the order you desire: If [Field] = "90 Days or More" then 1 else if [Field] = "100 Days or More" then 2 else if [Field] = "130 Days or More" then 3 and name it like "Days Bucket Sorting"

2) Go to Table view and select the field/category column. Go to the upper Column tools menu and select Sort by column

ray_aramburo_0-1726062442721.png

3) Select the "Days Bucket Sorting" column from the dropdown list 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





It worked with the Conditional column. Thanks @ray_aramburo 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors