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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
VRMENDESadq
Frequent Visitor

merged column returns value in ascending order

Hi, I have two tables and I merged both. But when I merged the results return in ascending order, 

 

Table 1

VRMENDESadq_2-1726601481046.png

 

 

Table 2

VRMENDESadq_1-1726601457221.png

 

When I merged the colunms by the "Chave" the expected result is "911,228,843", but the result appears in ascending order:

 

Merged Table:

VRMENDESadq_0-1726601983267.png

 

 

Anybody can help me to put in a original order?

 

Thanks.

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi,

Thanks fot watkinnc's concern about the problem and i want to offer some more information for user to refet to.

hello @VRMENDESadq ,  based on the picture you have offered,  is the data type of your result column number? you can try to change the data type of the result column to number, then combine it to the table 1.

vxinruzhumsft_0-1726625132051.png

 

Best Regards!

Yolo Zhu

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

Omid_Motamedise
Super User
Super User

after merging initially use Text.Split to split text into several text and then use list.sort to sort them and use Text.combine to convert the list to text

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h

View solution in original post

3 REPLIES 3
Omid_Motamedise
Super User
Super User

after merging initially use Text.Split to split text into several text and then use list.sort to sort them and use Text.combine to convert the list to text

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h
Anonymous
Not applicable

Hi,

Thanks fot watkinnc's concern about the problem and i want to offer some more information for user to refet to.

hello @VRMENDESadq ,  based on the picture you have offered,  is the data type of your result column number? you can try to change the data type of the result column to number, then combine it to the table 1.

vxinruzhumsft_0-1726625132051.png

 

Best Regards!

Yolo Zhu

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

 

Anonymous
Not applicable

What code are you using for this merge?

 

--Nate

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Kudoed Authors