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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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