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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Simon_Br
Helper I
Helper I

Problem Merge Query

Hello,

 

I want merge two query in Power Query. For that i have two same query. The query are sorted by UniqueNumer and Time and was grouped whit a Index. So far so good.

 

After merging, the index has shifted and no longer matches the sort order. Thus also wrong results are delivered.

 

UniqueNumberTimeStepIndexIndex - 1-->    MergeMy favorite Solution
1210:02A10 B
1210:14B21 C
1210:26C32 D
1210:38D43  
1818:04A10 B
1818:23B21 C
1818:42C32 D
1819:01D43  

 

Does anyone know this problem and can help me? Thanks in advance!

 

Simon

 

 

 

 

 

4 REPLIES 4
Simon_Br
Helper I
Helper I

the Problem is solved. So this question is answered.

 

Greetings Simon

 

Simon_Br
Helper I
Helper I

Thx for the respons. I have creat a new Power BI whit only two query from excel. This functionality whitout problems. But my Story basicly on a Azure Platform. Is this posibly a Problem?

mussaenda
Super User
Super User

Hi @Simon_Br ,

 

Just add a full table index before merging.

Then after merging, sort your table according to the full table index

mussaenda_0-1692183134080.png

 

Ujjawal
New Member

is it possible to share the pbix file with the sample data?
or
can you share the struture for both of the tables 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.