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
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 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.

Top Solution Authors