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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
browna6
Frequent Visitor

Joining two tables but certain results are missing

Hi

 

I am trying to pull join two tables (Budget and Sales). via the Store No./Store and the date., as i want to show a break down to see the stores budget for the day plus the budget

 

However, i am having an issue, as i am joining on both the store code and the date, when a store does not have any sales on that day, however, there is a budget. The budget figure is missing from the total

 

How do i include all the stores from the budget, regardless is there are any sales or not.

 

Files/Data in the below link

 

Thank you

 

https://1drv.ms/f/s!ArLb3M3n9C7Caj3nBs3G8jEQUj8?e=XHzTou 

1 REPLY 1
David_127
New Member

You have two options,

join your tables with 2 columns [Date]&[Store], and you table 1 must be Budget not Sales.

Or just create a relation between the tables (without the join) with a composite key [Date]&[Store]

I let you a pbit file on your OneDrive with the 2 solucions

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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