Forum Discussion
rosscortb
7 years agoPost Patron
Showing zero values?
Hello Any ideas why this is not showing as 0.00% instead of (blank), I tried adding +0 but didn't work. Absence Rate = CALCULATE(DIVIDE([Total Absence Days1],[Total headcount]*22,BLANK())) ...
- 7 years ago
hi, rosscortb
You may try these formula
Absence Rate = CALCULATE ( DIVIDE ( [Total Absence Days1], [Total headcount] * 22, 0 ) )
or
Absence Rate = CALCULATE ( DIVIDE ( [Total Absence Days1], [Total headcount] * 22, 0 ) ) +0
or
Absence Rate = CALCULATE ( DIVIDE ( [Total Absence Days1], [Total headcount] * 22, BLANK () ) ) +0
If you still have the problem, please share a simple sample pbix file.
Best Regards,
Lin
PattemManohar
7 years agoCommunity Champion
rosscortb It seems fine with your calculation, could you please post the screenshot as well if possible ?
- rosscortb7 years agoPost Patron
- rosscortb7 years agoPost Patron
Thanks any use?
- v-lili6-msft7 years agoCommunity Support
hi, rosscortb
You may try these formula
Absence Rate = CALCULATE ( DIVIDE ( [Total Absence Days1], [Total headcount] * 22, 0 ) )
or
Absence Rate = CALCULATE ( DIVIDE ( [Total Absence Days1], [Total headcount] * 22, 0 ) ) +0
or
Absence Rate = CALCULATE ( DIVIDE ( [Total Absence Days1], [Total headcount] * 22, BLANK () ) ) +0
If you still have the problem, please share a simple sample pbix file.
Best Regards,
Lin