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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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