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
Troops
Frequent Visitor

Standard Deviation calculations returning Wrong Numbers

Hi

 

I have some simple data which contains date, visits and bookings. From this I calculate conversion rate (bookings/visits) and then from this I measure a day on day and week on week conversion rate metrics.

 

I now also want to calculate, for each day the standard deviation of the "day on day" and "week on week" metrics for the prior 100 days. This will help identify whether the DoD/WoW value for the current day is within a normal range but the calculation simply isn't working.

 

What's also weird is that it's is giving me the same (wrong) numbers for both standard deviation calculations so I've no idea what it's actually doing.

 

I have attached a link for the Power Bi and an excel which has the same data in and shows the values I'm expecting for one particular date (1st October). The values in Power Bi aren't even close for that same date.

 

https://www.dropbox.com/s/olg57wb32cqxfbu/Test.pbix?dl=0   - Power Bi file

 

https://www.dropbox.com/s/74sni6en7fw24a8/Sample%20Data.xlsx?dl=0 - Excel file

 

What am I doing wrong and can anyone provide a formula that will match the values in the excel file?

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @Troops ,

 

Your two links are all xlsx files. I think you want the value displayed in the Power BI. You can download my test file and refer to it.

6-1.PNG

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Hi

 

Thanks for the response. I was able to adapt the formulas used here for my report. Essentially mine wasn't working (I think) due to my DoD/WoW being custom metrics rather than custom columns.

 

Now I need to adapt further I think. In my actual data I have other columns e.g. device so that each date will now have 2 rows and the user can use a filter to pick device.

 

Will this logic still work? I'm thinking some of the custom columns you've created wouldn't work due to the index (i.e multiple rows with the same index).

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.