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

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors