Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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. |
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 30 | |
| 30 | |
| 23 |