The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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
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
User | Count |
---|---|
69 | |
65 | |
63 | |
55 | |
28 |
User | Count |
---|---|
112 | |
81 | |
65 | |
48 | |
43 |