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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
aswiniharidas19
New Member

Create table based on value from existing table using power query

Hi All,
I have two tables.
Table A: 

Date NameValue
27-07-2020AP123
27-07-2020AS456
27-07-20220SK345
26-07-2020AP789
26-07-2020SK320
25-07-2020AS145

Table B:

Name
AP
AS
SK


I want my output table as below:

DateNameValue
27-07-2020AP123
27-07-2020AS456
27-07-20220SK345
26-07-2020AP789
26-07-2020SK320
26-07-2020AS0
25-07-2020AS145
25-07-2020AP0
25-07-2020SK0


How to achive this in power query ?

Thanks,

Aswini

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @aswiniharidas19 

 

Please see the attached solution that will return the below result

image.png

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

View solution in original post

2 REPLIES 2
Mariusz
Community Champion
Community Champion

Hi @aswiniharidas19 

 

Please see the attached solution that will return the below result

image.png

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Hi Mariusz,
Thank you for the solution. This is what exactly I was looking....

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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