Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be 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

Reply
ARLFG
Frequent Visitor

Standard Deviation based off of a Measure instead of Column

Hi PBI Community, 

I'm looking to plot a rolling 12 month Standard Deviation of the Complaint Rate line, which is a measure of Complaints Number divided by 3 Month Sales Average (both numerator and denominator are also measures). I'm under the impression that STDEV.S can only be applied to a column, so I'm hoping to get some help on how to work around this. A measure of a calculated column works for single selected Sub Categories but not for combinations of multiple Sub Categories, which is what this report will primarily use.

 

ARLFG_1-1678153190985.png

 



Thank you!

 

 

 

 

3 REPLIES 3
ARLFG
Frequent Visitor

@tamerj1 any clues to lead us to victory?!

@Hi @ARLFG 

perhaps someone like this?

STD =
VAR CurrentMonth =
SELECTEDVALUE ( 'Date'[Month] )
RETURN
MAXX (
FILTER (
ADDCOLUMNS ( ALLSELECTED ( 'Date'[Month] ), "@STD", STDEV.S ( [Measure] ) ),
'Date'[Month] = CurrentMonth
),
[@STD]
)

chudson
Helper IV
Helper IV

I'm trying to do something similiar and think the solution has to be somehow using summarize/summarize columns and creating a virtual table to calculate the Standarad Deviation off of.  Is that possible or has anyone done that before?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.