Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi,
I need to get a rolling 13 for quantity shipped.
I have this for my units shipped but it has measures that are doing funky things with matching dates. (I didn't create this measure I am just updating the report). I am new to powerbi and really don't know what I am doing - please send help lol. I need it to be based off of invoice date in my order his table. Can someone help guide me?
Hi, @Igotzepowerbi
it would be better to create a date table instead of using today(). today will eventually change everyday.
modified dax
Rolling 13 Weeks Qty Shipped =
CALCULATE(
SUM('Order History'[Qty Shipped]),
FILTER(
ALL('Date'[Date]),
'Date'[Date] >= MAX('Date'[Date]) - 91 &&
'Date'[Date] <= MAX('Date'[Date])
)
)
In this measure, Date would be a separate Date table that has all of the dates and 'Order History' is the table with your shipped quantities.
This assumes that the 'Date' table and the 'Order History' table are related by the date field.
Proud to be a Super User!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
69 | |
35 | |
21 | |
18 | |
15 |
User | Count |
---|---|
127 | |
30 | |
27 | |
24 | |
22 |