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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Betty888
Helper II
Helper II

Standard deviation calculation through Power query

Dear all, 

I have an issue with a Power BI File using big data sources. After a quick analysis, I realised that my DAX queries are the reason behind the slowness of my file, so I'm trying to convert most of my DAX queries to the Power query editor. 

I have an issue with the calcultion of Standard deviation for a DATA column that I have to calculate by Grouped data and I can't use the "Group by" function, I need to have an additional calumn containing the standard deaviation . 

Here below the DAX formula that was percectly working for me and that I want to convert to Power query : 

TRT_STD =
CALCULATE ( STDEV.S ( ASSESSMENT [DATA] ), ALLEXCEPT ( Table, Table[group.data] ) )

Thank you in advance for your help ! 

1 REPLY 1
ppm1
Solution Sage
Solution Sage

Although sometimes it is necessary to pre-calculate stuff to improve performance, I would stick with DAX and optimize your model if necessary. This will make your calculations responsive to slicers and overall provide more flexibility in reporting/analysis. Is your model a star schema? How many values in your visual?

 

Pat

 

Microsoft Employee

Helpful resources

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

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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