This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello,
I have a table with error and week ID reference. I create a visual like below:
Error Last7DaysError STDEV_of_last12_week
Err 1
Err2
..
Err n
And I try to calculate the standard deviation of each err over the last 12 weeks using
Solved! Go to Solution.
@Ortignano , 12 weeks calculation seems correct try with a table having the measure or some grouping of table using values or summarize
example
STDEV_of_last12_week = calculation( STDEVX.P(Table, [CountError]) ,FILTER(ALL('Calendar'),
'Calendar'[WeekID]<=MAX('Calendar'[WeekID]) &&
'Calendar'[WeekID]>=MAX('Calendar'[WeekID])-11 )
@Ortignano , 12 weeks calculation seems correct try with a table having the measure or some grouping of table using values or summarize
example
STDEV_of_last12_week = calculation( STDEVX.P(Table, [CountError]) ,FILTER(ALL('Calendar'),
'Calendar'[WeekID]<=MAX('Calendar'[WeekID]) &&
'Calendar'[WeekID]>=MAX('Calendar'[WeekID])-11 )
Thank you Amitchandak, it was my fault: I didn't use a summarized table.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 26 | |
| 25 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 59 | |
| 50 | |
| 26 | |
| 20 | |
| 19 |