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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have this weird thing I do not understand where a formula sometimes calculates infinity when I expect a percentage.
Solved! Go to Solution.
are you creating a column? create a measure
FileSizeCompliancePercentage =
DIVIDE ( sum('Table'[Attributes.Size]), [MaxFileSizeNumber], 0 )
Proud to be a Super User!
well that was easy. Thanks for the help. What is the logic behind the weird behaviour ?
you are a creating a column and mixing that with a measure. Firstly its unnecessary to do that, calculated columns aren't very performant either. Basically though you are trying to divide a constant by a measure, the measure is aggregated and therefore has a different context.
if you have the values on the row anyway a measure will pick up the context and return the correct answer. not sure if that explains it well enough.
Proud to be a Super User!
are you creating a column? create a measure
FileSizeCompliancePercentage =
DIVIDE ( sum('Table'[Attributes.Size]), [MaxFileSizeNumber], 0 )
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!