cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
biswad Frequent Visitor
Frequent Visitor

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

Accepted Solutions
Community Support Team
Community Support Team

Re: Move column position in power BI Matrix

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

3 REPLIES 3
NickNg278 Senior Member
Senior Member

Re: Move column position in power BI Matrix

@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

 

Community Support Team
Community Support Team

Re: Move column position in power BI Matrix

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

biswad Frequent Visitor
Frequent Visitor

Re: Move column position in power BI Matrix

Thanks alot for your help. It solved my issue