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
Hello all, and thanks for the help you provide in a daily basis, it saved us a lot of times in moments of need.
I could not find any solution for this problem, and maybe someone here can hint me how to proceed. I have a date dimension linked to 2 fact tables:
1. Normal sales facts table linked by SQL query
2. Folder with daily excels with forecasts.
The issue is with this second one, I created a date column from the file name, and it contains a second date column with dispatch dates for the next n days. The idea is comparing the sales variation with the forecast in first day of the month, but I don't know how to prepare the model or which measure to use to achieve this.
Example.-
File 01/11 has forecast for 07/11 of 100k
Sales at 7/11 are 80k
Variation would be -20% from forecast.
I made it work for month aggregation (cumulative sales and last day forecast) using lastdate / Max (Date) measures, but I cannot make it work for daily basis, due to the dispatch date not being linked to the date table dimension. I tried creating a secondary relationship, and using USERELATIONSHIP measure, but I could not do it.
I hope the issue was understood, and someone can help me, since I cannot publish the file here :_(
Thank you very much, and have a very nice day.
Kind regards
Hi,
If you cannot share the file, then share some dummy tables to work with and show the expected result clearly.
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 |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |