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
sidyahmed_pbix
Frequent Visitor

how to keep same order between power query rows and table visual rows after sorting rows power query

 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sidyahmed_pbix ,

You'll need to add a column to your data to be use as a Sort By column for your tagname, so it doesn't default to alphabetical. If you have or generate a query in which there is only one tagname per row, you can add an index column while it is in the desired order and use that.

Sort one column by another column in Power BI Desktop - Power BI | Microsoft Docs

 

If that is not the case and that you want the data to be displayed in the order the rows were uploaded into Power BI, then you might have to create a new Index Column and sort the data using that new column.

 

The Below link takes you to a similar post 

https://community.powerbi.com/t5/Desktop/How-to-create-a-custom-sort-order-for-a-visualization/m-p/5... 

 

Best Regards

Community Support Team _ Polly

 

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

1 REPLY 1
Anonymous
Not applicable

Hi @sidyahmed_pbix ,

You'll need to add a column to your data to be use as a Sort By column for your tagname, so it doesn't default to alphabetical. If you have or generate a query in which there is only one tagname per row, you can add an index column while it is in the desired order and use that.

Sort one column by another column in Power BI Desktop - Power BI | Microsoft Docs

 

If that is not the case and that you want the data to be displayed in the order the rows were uploaded into Power BI, then you might have to create a new Index Column and sort the data using that new column.

 

The Below link takes you to a similar post 

https://community.powerbi.com/t5/Desktop/How-to-create-a-custom-sort-order-for-a-visualization/m-p/5... 

 

Best Regards

Community Support Team _ Polly

 

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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 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.