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
Hi
i have a measure for rolling 12 months, we have daily unit sales - except on weekends. That creates spikes in the rolling 12 months measure (due to weekend shifts from one year to the other). I would like to flatten this, maybe with some sort of rolling 7 days as an intermediate calculation?
Do you have any idea, how i could solve this?
The measure i use for the rolling 12 months looks like this:
Hi @lbendlin
i struggled trying to build/combine these two calculations. Do you have an example calculation on which i could build?
Please provide sanitized sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.
Hi @lbendlin
Sorry for the late response. I can't provide any sample data.
And i can't show the expected outcome because i can't produce it..
But i think i explained it: I would like to flatten the daily spikes of my 12 months rolling line chart.
So maybe it is possible for you to show me a generic calculation on how i could calculated a weekly average and use this for the rolling 12 months (which is calculated on daily basis) ?
"I can't provide any sample data. "
I cannot help you without sample data.
Yes, a sliding window average (let's say three days prior to three days after) should give you the required smoothing.
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 |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |