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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Bob98
Regular Visitor

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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