Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 54 | |
| 45 | |
| 38 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 86 | |
| 70 | |
| 38 | |
| 29 | |
| 26 |