March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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).
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
Hi @Anonymous
Try these articles
https://www.daxpatterns.com/budget-patterns/
https://www.daxpatterns.com/handling-different-granularities/
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
18 | |
15 | |
9 | |
8 |
User | Count |
---|---|
37 | |
32 | |
18 | |
16 | |
13 |