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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Inccorect Power BI calculation vs Manual calculation

Hi,

I got issue with the Annualized % calculation where Power BI calculate wrongly for NZ but overall and HK is correct.

For NZ Jan, calculation should be 6/53*366/31 = 1.3365  (133.65%) but Power BI value is 134.9%

Can i know what is the issue ?

 

Refer the sceershot is manual excel sheet. For overall, NZ and HK

joechew123_0-1730097557177.png

joechew123_1-1730097579620.png

joechew123_2-1730097601722.png

 

Please refer these dax formula :

Attrition YTD = CALCULATE(sum(Attrition[Count]),DATESYTD('DAX DateTable'[Date]))
Average HC = ([Fiscal Year HC]+[HC])/
Fiscal Year HC = sum('Fiscal Year HC'[Count of Employee Type])
HC = count(ActiveHC[Active])
 YTD Count = TOTALYTD(sum('DAX DateTable'[Count]),'DAX DateTable'[Date])
Annualized % = [Attrition YTD]/[Average HC]*366/[YTD Count]
 
Power BI
 
joechew123_3-1730097947717.pngjoechew123_4-1730098005290.png

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi @_AAndrade ,

 

For Average HS will be whole number data type which is 53.

Hi @Anonymous;

Isn't it a calculation? If it's a average could have decimal places. If you change the data type to decimal you don't have any decimal places?





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




_AAndrade
Super User
Super User

Hi @Anonymous,

Could you see if your Average HC have decimal places? Probably you have 52.512 and for that reason you're getting wrong numbers.





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors