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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
biswad
Helper I
Helper I

Move column position in power BI Matrix

Hi Power Bi Family,

I need your help

 

I have a matrix with column which shows the data under column name order as  Branch, 50-60, 60 Plus, Less then 50 years but

I want to have the column order as Branch , Less than 50 years ,50-60,60 plus.

 

Can any one help me to move column or rearrange it . In excel pivot you have move option to move column.Does power BI has any potion similar to that?

 

Kind Regards,

Biswa

 

Power BI_Mitrix_coulmn reorder.jpg

 

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @biswad

In query editor, create a condition column (Add column->condition column)

10.png

Then sort the column by this custom column (select on the column needed to be sort, then select "sort by column"->"custom")

11.png

 

finally, you will see 

12.png

 

Best Regards

Maggie

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @biswad

In query editor, create a condition column (Add column->condition column)

10.png

Then sort the column by this custom column (select on the column needed to be sort, then select "sort by column"->"custom")

11.png

 

finally, you will see 

12.png

 

Best Regards

Maggie

Thanks alot for your help. It solved my issue

Anonymous
Not applicable

@biswad,

you can add a Custom column in Query Editor that uses IF statements for your sort order. So say if = less than 50 years then 1 else if = 50-60 years then 2 else ... . Then you can sort your column by the custom column

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.