Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi, friends!
Please, help me in my issue: I want to calculate the percent of fee in our company, but after calculation, I see only Infinity or Nan.
Could you please, clarify the reasons for this problem?
Thank you in advance!
Solved! Go to Solution.
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]))
Are you not using the DIVIDE() function?
Hi!
When I use this function, I see only "0" in results.
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.
OK. Could you try to convert the measure type to "decimal number" and change the precision(3 in below snapshot) accordingly?
Still, doesn't work.
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]))
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 56 | |
| 43 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 24 |