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
Bob98
New Member

The order of the tables on the visualization side is not the same as in Transform query

 

Hello everyone, sorry i'm an beginner at PowerBI, 

 

I removed on the visualisation side all the filters,

but sill i can't manage to match the values: 

Concrete the order is not the same: 

 

As you can see the left side does not match the same order as the right side: 

Have the same issue with 3 tables. 

Bob98_1-1712926296106.pngBob98_2-1712926317226.png

The queries i used in the Transform side are the next:

I used basic filter functions as:

#"Reversed Rows" = Table.ReverseRows

#"Removed Other Columns3" = Table.SelectColumns

#"Renamed Columns1" = Table.RenameColumns

 

Hopefully there is anyone that can help me with this problem. 

Would be much appreciated.

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

Power BI ignores any sort orders you may have defined (or not) in Power Query, and applies its own sort order.  Mostly ascending.

View solution in original post

v-yohua-msft
Community Support
Community Support

Hi, @Bob98 

Sorting in PowerQuery only seems to affect the order in your Table View, not in visuals. You'll need to modify the sort you want in the visual.

vyohuamsft_0-1713147206118.pngvyohuamsft_1-1713147256714.png

You can choose which column you want to sort in the main body of the column on the Column Tool page, and then you can change it in the view in ascending or descending order.

vyohuamsft_2-1713148469471.png

vyohuamsft_3-1713148599718.png

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

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

2 REPLIES 2
v-yohua-msft
Community Support
Community Support

Hi, @Bob98 

Sorting in PowerQuery only seems to affect the order in your Table View, not in visuals. You'll need to modify the sort you want in the visual.

vyohuamsft_0-1713147206118.pngvyohuamsft_1-1713147256714.png

You can choose which column you want to sort in the main body of the column on the Column Tool page, and then you can change it in the view in ascending or descending order.

vyohuamsft_2-1713148469471.png

vyohuamsft_3-1713148599718.png

 

How to Get Your Question Answered Quickly 

Best Regards

Yongkang Hua

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

lbendlin
Super User
Super User

Power BI ignores any sort orders you may have defined (or not) in Power Query, and applies its own sort order.  Mostly ascending.

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.