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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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