The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi
I have a table with 13 columns: SKU ID and consumptions over 12 months, each month in a column.
I am struggling to calculate standard deviation of the 12 months, I found no DAX formula except STDEV.P which needs all values in one column, I want to use SUMMARIZE but my case is too complicated since I need to calculate a "dynamic" standard deviation based on my review periods.
How can I calculate standard deviation on multiple columns instead of one?
Thanks
yeah with UNION() and SelectColumn() combination
referring you to this article
https://stackoverflow.com/questions/50213905/is-it-possible-to-unpivot-in-power-bi-using-dax
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
Hi
As I said, these formulas need all data to be in one column, while I have my values spread over 12 columns.
I need another way.
if possible Unpivote these columns into single column
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
Is unpivot possible with DAX?