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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
AudreyRene
Helper I
Helper I

Ascending order

Hello,

 

I dont want the data sorted as Power BI does. I want the data in the same way they are in the table. Any ideas about how to remove the order ?

 

Table

AudreyRene_2-1718911589880.png

 

Power BI

AudreyRene_1-1718911549709.png

 

Thank you

 

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

Hi @AudreyRene ,

Regarding your question, you can use the 'Sort by column' button.

Sort one column by another column in Power BI - Power BI | Microsoft Learn

The Table data is shown below:

vzhouwenmsft_0-1718933048008.png

vzhouwenmsft_1-1718933104567.png

Please follow these steps:

1.Creating an index column in 'Power query'.

vzhouwenmsft_2-1718933191289.png

vzhouwenmsft_3-1718933207395.png

2.Click the 'Sort by column' button.

vzhouwenmsft_4-1718933243981.png

3.Final output

vzhouwenmsft_5-1718933390701.png


Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

8 REPLIES 8
v-zhouwen-msft
Community Support
Community Support

Hi @AudreyRene ,

Regarding your question, you can use the 'Sort by column' button.

Sort one column by another column in Power BI - Power BI | Microsoft Learn

The Table data is shown below:

vzhouwenmsft_0-1718933048008.png

vzhouwenmsft_1-1718933104567.png

Please follow these steps:

1.Creating an index column in 'Power query'.

vzhouwenmsft_2-1718933191289.png

vzhouwenmsft_3-1718933207395.png

2.Click the 'Sort by column' button.

vzhouwenmsft_4-1718933243981.png

3.Final output

vzhouwenmsft_5-1718933390701.png


Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

 

The solution works, but how can i hide the column ? I don't want the colum index to be part of my visual

 

AudreyRene_0-1719321223801.png

Thank you !

Hi @AudreyRene ,

If you have used 'Sort by column', you can remove index column. As in the picture I provided, I did not add the index column in the table visual.

vzhouwenmsft_0-1719380818607.png

 

Hello,

 

I have used Sort by column. Still, if i remove the column Index from my visual, the visual doesnt work

 

AudreyRene_0-1719422987290.png

 

 

Hi @AudreyRene ,

Based on your picture, it seems that you used 'sort by Column' for the 'Index' column.

vzhouwenmsft_2-1719452928817.png

So after deleting the 'Index' column the sorting will become invalid.

Please select the column you want to sort.

vzhouwenmsft_0-1719452792303.png

vzhouwenmsft_1-1719452857265.png

If you still have problems, can you share the .pbix file without the sensitive data?

Hello,

 

Yes i want the data to be sort with the Index Column but i dont want the column in my visual.  How can i share my .pbix file ? 

Hi @AudreyRene ,

You could upload the file to OneDrive / Google Drive / DropBox and share the link here.

How to provide sample data in the Power BI Forum - Microsoft Fabric Community

 

Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

 

I find a way to remove the column index and i accept the solution. 

 

Thank you a lot for your time !

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors