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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

M Query Same Table

Hi Friends,

I have query for Power Query Editor mode, below table get Plant wise Oldest date ,

 

I tried GroupBy but after that i can't merge another table, so please help. (only Query Editor mode)

screen.PNG

 

Thanks

6 REPLIES 6
Anonymous
Not applicable

Hi team,

 

Can you help Query editor , how can i get oldest date in palt wise.

 

Thanks

Hi @Anonymous ,

 

You may use "Group By" option to get oldest date for every Plant category.

104.png

Best Regards,

Amy 

 

Community Support Team _ Amy

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

amitchandak
Super User
Super User

@Anonymous , are you not getting the new table in merge option

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @Anonymous ,

 

What do you mean you can't merge another table? could you please show the sample?

 

Thanks.

Aiolos Zhao

Anonymous
Not applicable

Hi @Anonymous ,

 

i tried to get oldest date in Group by (Edit Query ) however next step is merge another tahe in to grouped table.

 

Thant I can't do "it shows (left table) hide.

 

Thanks,

Kali

Anonymous
Not applicable

Hi @Anonymous ,

 

I tried it on my desktop, it works.

 

I don't see your data model so I don't know what kind of error or specific problem you met.

 

Sample table:

M Query Same Table.PNG

 Using group by

M Query Same Table 2.PNG

another table for merge:

M Query Same Table 3.PNG

After merge:

M Query Same Table 4.PNG

 

no issues.

 

Aiolos Zhao

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors