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
Anonymous
Not applicable

Difference between monthly forecast and daily sales

I have 2 tables. One table containing information about my sales (on a daily basis) and one table containing forecast (on a monthly basis). My end goal is to be able to easliy create a top 5 chart for a certain product or certain customer and time-period (could be one month or more) where sales > forecast or sales < forecast.

 

For this I assume I will need to make a new table and I've created an example in excel of what I need, however I do not know how to apply this in power BI (I assume to create a new table using DAX, but I don't know where to begin).

 

Picture of my goal 

2 REPLIES 2
Anonymous
Not applicable

Solution attached. Always make sure the product table contains all products in Sales and Forecast and that the Customer dimension contains all customers from Sales and Forecast as well. The Time dimension must be a proper Date table covering all the years found in the fact tables in full.

 

Best

D

Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

Try these articles

https://www.daxpatterns.com/budget-patterns/
https://www.daxpatterns.com/handling-different-granularities/

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

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.

Top Solution Authors