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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors