Forum Discussion
Handling infinity value
- 9 years ago
Thanks for sharing your pbix. I think I've found the reason. It is a calculated column in your case, and the field dz or grs both can be 0, so you always get 0 or infinity. In you case, instead of calculated column, create a measure instead.
Measure = DIVIDE(sum(t3[dz]),sum(t3[grs]))
jakobcf4 wrote:
Hi!
When I use this function, I see only "0" in results.
To have a better understanding on your scenario, could you give more specific details, such as sample data and measure dax?
Yes, of course!
I use function DIVIDE([dz];[grs])*100 , when dz (debt sum) and grs(grossrev) are integer datas.
I've added a few screenshots for better understanding.
After this process I see 0 as a result.
- Eric_Zhang9 years agoMicrosoft Employee
OK. Could you try to convert the measure type to "decimal number" and change the precision(3 in below snapshot) accordingly?
- jakobcf49 years agoFrequent Visitor
Still, doesn't work.
- Eric_Zhang9 years agoMicrosoft Employee
jakobcf4 wrote:
Still, doesn't work.
Is it possible to share the pbix file? You can mask sensitive data before sharing.