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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Populating a Table with Power Query

Hello,

 

Have a customer table with an Index Column for each customer

 

Sem título.png

 

And anothe table with date (YEAR, MONTH and YEARMONTH)

 

tipo.png

 

What I need to do is populate each SK_FORNECEDOR with each available date (ANOMES), like this:

 

type 2.png

 

Is that possible at Power Query?

 

Thanks

 

1 ACCEPTED SOLUTION

3 REPLIES 3
ImkeF
Super User
Super User

Yes, you add a column to your first query where you simply reference the second query. This will return the full second table into each row of the first table. Then just expand the column you need from the 2nd table and the additional rows will automatically be generated in that step. 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Anonymous
Not applicable

Thanks ImkeF. Can you show me how to do this? 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.