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
Syndicate_Admin
Administrator
Administrator

Propagate information from one table to another

Hello

I need help with a topic:

Let's say I have two tables:

1. Holiday Table:

mariases94_3-1715870860133.png

2. Festive table:

mariases94_4-1715870955033.png

I need you to create for me for each employee all the dates that the "Holidays Table" table has depending on the location. For example, the result would look like this:

mariases94_5-1715871365364.png

Thanks in advance and best regards,

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @Syndicate_Admin ,

 

Here are the steps you can follow:

1. In Power Query – Home – Merge Queries -- Merge Queries as new .

vyangliumsft_0-1715930874590.png

Expand Table2:

vyangliumsft_1-1715930888048.png
vyangliumsft_2-1715930888049.png2. Append Queries as new.

vyangliumsft_3-1715930911627.png

3. Add Conditionaal Column.

vyangliumsft_4-1715930932618.png

vyangliumsft_5-1715930932619.png

4. Remove the original column [Holiday date] and rename [Custom] to [Holiday date].

vyangliumsft_6-1715930960270.png

5. Result:

vyangliumsft_7-1715930960272.png

 

Best Regards,

Liu Yang

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

 

View solution in original post

1 REPLY 1
v-yangliu-msft
Community Support
Community Support

Hi  @Syndicate_Admin ,

 

Here are the steps you can follow:

1. In Power Query – Home – Merge Queries -- Merge Queries as new .

vyangliumsft_0-1715930874590.png

Expand Table2:

vyangliumsft_1-1715930888048.png
vyangliumsft_2-1715930888049.png2. Append Queries as new.

vyangliumsft_3-1715930911627.png

3. Add Conditionaal Column.

vyangliumsft_4-1715930932618.png

vyangliumsft_5-1715930932619.png

4. Remove the original column [Holiday date] and rename [Custom] to [Holiday date].

vyangliumsft_6-1715930960270.png

5. Result:

vyangliumsft_7-1715930960272.png

 

Best Regards,

Liu Yang

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

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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