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'm having a bit of an issue with a table that contains two dates.
REPORT DATE | SKU | QUANTITY | RELEASE DATE |
My table is organized as above, every day we receive a report from the quality team informing us which SKUs will be released and when they will be released.
My problem is that I want to sum the quantity that will be released in the next 7 days (for example) but when I use DATESBETWEEN it is considering all quantities released in the next 7 days despite the report date. Can someone help me out?
Hi @pedroaraldi
You need to explain how the report date affects the result. Best share a sample of your model/data, showing the wrong result you are getting an the desired result (and the logic for it).
Plus the code you are currently using for that sum
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
30 |
User | Count |
---|---|
180 | |
88 | |
71 | |
48 | |
46 |