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 experts!
I am working on a MAPE Report for our Forecast Accurary Report.
In this report we have 4 tables:
Actuals for the past
Date | Value | Article |
DD.MM.YYYY | 5 | A |
DD.MM.YYYY | 6 | B |
Then I have a fiscal calendar table and a master data table that helps me to aggregate this data for specific months and article groups.
Then I have a forecasting table like this:
Cycle (Year-Month) | Date | Value | Article |
2021-01 | DD.MM.YYYY | 5 | A |
2021-01 | DD.MM.YYYY | 6 | B |
2021-02 | DD.MM.YYYY | 7 | A |
Now I would like to add a filter for the LAG into the report based on this logic:
How would you build that kind of logic into the model?
User | Count |
---|---|
14 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
28 | |
18 | |
13 | |
7 | |
5 |