March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Good day.
I am trying to get the standard deviation (SD) and average (AVE) of the following data:
LOGIN DATE - Copy
| Count
|
I am trying to get SD and AVE for each month. I tried using
Solved! Go to Solution.
Hi @j4ymastah
You can add a YearMonth column in your data model. Then you can achieve your goal by measure or calculate funtion in Table visual directly.
Add a YearMonth column.
YearMonth = FORMAT('Table'[LOGIN DATE - Copy],"YYYYMM")
Measure:
SD Per Month = CALCULATE(STDEV.P('Table'[Count]),FILTER(ALL('Table'),'Table'[YearMonth]=MAX('Table'[YearMonth])))
AVG Per Month = CALCULATE(AVERAGE('Table'[Count]),FILTER(ALL('Table'),'Table'[YearMonth]=MAX('Table'[YearMonth])))
Or use Average/Standard Deviation function in table visual.
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @j4ymastah
You can add a YearMonth column in your data model. Then you can achieve your goal by measure or calculate funtion in Table visual directly.
Add a YearMonth column.
YearMonth = FORMAT('Table'[LOGIN DATE - Copy],"YYYYMM")
Measure:
SD Per Month = CALCULATE(STDEV.P('Table'[Count]),FILTER(ALL('Table'),'Table'[YearMonth]=MAX('Table'[YearMonth])))
AVG Per Month = CALCULATE(AVERAGE('Table'[Count]),FILTER(ALL('Table'),'Table'[YearMonth]=MAX('Table'[YearMonth])))
Or use Average/Standard Deviation function in table visual.
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
6 | |
3 | |
3 | |
2 | |
2 |