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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Standard deviation in Power BI

Hi Experts

 

Need help to work out the Standard deviation of the following data set as shown below

 

The excel formula is = STDEVPA(Range) of the below data

 

the Answer is 5.6% of the below numbers

Capture.PNG

 

 

 

 

 

 

 

 

 

 

 

My Measure is

STD = 
Calculate(STDEV.P(Llo_Data[Net Amt %]), Allexcept(Llo_Data,Llo_Data[Date]))

 

not getting even close with the above measure.

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

Same result without ALLEXCEPT

aj1973_0-1627137514754.png

 

Some transformation might need to be applied on your Excel file.

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

8 REPLIES 8
Mohammad_Refaei
Solution Specialist
Solution Specialist

@Anonymous the syntax you wrote is correct and it is producing the same value as your Excel workbook.

Please check this sample file

 

You may take a look at the relationships.

aj1973
Community Champion
Community Champion

Hi @Anonymous 

Could it be because you are using a filter "ALLEXCEPT"!! Try without it.

STD = STDEV.P(Llo_Data[Net Amt %])

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Anonymous
Not applicable

Hi Amine - Nope - thanks for the feedback not correct. not getting STD = 5.6%

aj1973
Community Champion
Community Champion

Same result without ALLEXCEPT

aj1973_0-1627137514754.png

 

Some transformation might need to be applied on your Excel file.

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Yes... the syntax is not the issue. There's another underlying reason.

aj1973
Community Champion
Community Champion

Hey how about you share a file with us, can't keep speculating on what's wrong...

But try STEDV.S first instead of P

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Anonymous
Not applicable

Thanks for the feedback and apologies for not sharing a file (PBIX). 

aj1973
Community Champion
Community Champion

Welcome

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.