Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I need to calculate the standard deviation of a population made of monthly part sales (quantities). Each row gives the historic consumption (from 1 month in the past - Cons_1Month - to 12 months in the past - Cons_12Months ) of a part number - ITEMID.
I need the std.dev, for every rows (each p/n), of the population made of columns "Cons_1Month" to "Cons_12Months"
I prefer not to transpose as I have several other pieces of information I need to keep for each PN.
I found only ways to calculate std.dev per columns. Any idea ?
Thank you !
AC
Hi, @ACU
If the following methods didn't solve your problem. Can you provide a PBIX file that is available for testing? What do you expect the results to look like that can be shown in an example Excel chart. I look forward to hearing from you.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
You could do the unpivot operation to a calculated table and use that new table with RELATED to calculate standard deviation to your original table.
Example DAX (add ID to its own column in the UNION):
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
12 | |
10 | |
10 | |
6 |