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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
CMSGuy
Helper III
Helper III

Merging queries

I have three separate queried lists: Detail, Hours, Ratings.  All of these lists have a common EmployeeID.  What I want to happen is to merge the queries together by date (data is filtered by employee on the report itself).  Some tables might not have any information for any given date, where another might have some data.  So if there is data for May 15 in the ratings table, but not the Detail table nor the Hours table, I need to make sure that there is ONE entry for May 15 that shows the ratings data.  There also is only ONE date for each flattened record (if that makes sense).  How do I merge on multiple queries?  And should these be right joins?  Thanks for the help and information

 

CMSGuy_0-1684338492511.png

 

1 ACCEPTED SOLUTION
BiNavPete
Resolver III
Resolver III

Hi @CMSGuy 

Tricky without a sample PBIX, but my initial thought is to Append all three tables (rather than merge) then do a Group BY on EmployeeID

 

Pete
Web: https://binavigation.com
Linked In: https://www.linkedin.com/in/pete-smith-955b73181

View solution in original post

2 REPLIES 2
BiNavPete
Resolver III
Resolver III

Hi @CMSGuy 

Tricky without a sample PBIX, but my initial thought is to Append all three tables (rather than merge) then do a Group BY on EmployeeID

 

Pete
Web: https://binavigation.com
Linked In: https://www.linkedin.com/in/pete-smith-955b73181

I will try that and let you know. Thanks for the information. And later, if needed, I probably can put together a sample pbx and send it

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.