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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
Community Champion
Community Champion

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.