cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
ARLFG
Regular 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
Regular 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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors