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

A 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.

Reply
mrothschild
Continued Contributor
Continued Contributor

calculating standard deviations from Matrix visual

PBIX file is here: https://www.dropbox.com/s/uasonb98zmz41xw/ATV%2C%20growth%20and%20indexing.pbix?dl=0

 

I have a matrix visual that appears as follows, except for the StdDev column on the right.  That column is what I'm trying to calculate and is the desired output - I don't need it in the Matrix visual, but do need the values associated with Low/Mid/High rows, and need it to be dynamic, as the Matrix visual will eventually be filtered by slicers.  The StdDev column is the Standard Deviation of the annual % change in the upper table, calculated from the lower table.

 

Thanks!

 

 20082009201020112012201320142015201620172018StdDev
Low$624$990$914$812$926$914$893$926$846$847$76220.8%
Mid$512$841$771$685$780$779$808$819$751$739$64522.7%
High$454$709$670$582$645$651$699$696$628$609$40423.0%

 

 20082009201020112012201320142015201620172018StdDev
Low 58.6%(7.7%)(11.1%)14.0%(1.3%)(2.3%)3.6%(8.6%)0.2%(10.1%)20.8%
Mid 64.4%(8.3%)(11.2%)13.8%(0.1%)3.8%1.3%(8.3%)(1.6%)(12.7%)22.7%
High 56.2%(5.4%)(13.2%)10.9%0.8%7.4%(0.4%)(9.8%)(3.1%)(33.7%)23.0%
1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @mrothschild,

 

Please try this measure.

Measure =
VAR a =
    SELECTCOLUMNS ( 'Data', "value", [Value] )
RETURN
    STDEVX.S (
        SUMMARIZE ( 'Data', 'Calendar'[Year], Data[Attribute] ),
        IF ( [Annual % change] <= 1, [Annual % change], BLANK () )
    )

calculating-standard-deviations-from-Matrix-visual

 

BTW, DO NOT share anything confidential here.

 

Best Regards,

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @mrothschild,

 

Please try this measure.

Measure =
VAR a =
    SELECTCOLUMNS ( 'Data', "value", [Value] )
RETURN
    STDEVX.S (
        SUMMARIZE ( 'Data', 'Calendar'[Year], Data[Attribute] ),
        IF ( [Annual % change] <= 1, [Annual % change], BLANK () )
    )

calculating-standard-deviations-from-Matrix-visual

 

BTW, DO NOT share anything confidential here.

 

Best Regards,

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you!

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.