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
Anonymous
Not applicable

Merge help

Hi,

I have two date queries A and B.

I am trying to create a third query C which merges both A and B:

for every date and time row in query B, there would be 4 corresponding rows in A. For example.

Query B (One row): a customer enters the shop on dd/mm/yyyy at 1:00am

Corresponding entry in Query A (ist row): date and time of item purchase dd/mm/yyyy at 11:00pm
Corresponding entry in  Query A (2nd row): date and time of item purchase dd/mm/yyyy at 12:00am

Corresponding entry in Query A (3rd row): date and time of item purchase/mm/yyyy at 1:00am

Corresponding entry in Query A (4th row): date and time of item purchase dd/mm/yyyy at 2:00am

1 REPLY 1
ryan_mayu
Super User
Super User

@Anonymous 

pls see if the article is helpful

Tutorial: Shape and combine data in Power BI Desktop - Power BI | Microsoft Learn





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.