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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
This can be used after selecting the "Dynamic" as the measure format under "Measure tools"
VAR CurrentValue = SELECTEDMEASURE()
RETURN
SWITCH (
TRUE (),
// format the number based on value
CurrentValue <= -1E6, "#,0,,.00 M",
CurrentValue <= -1E3, "#,0,.00 K",
CurrentValue <= 1E3, "#,0.00",
CurrentValue < 1E6, "#,0,.00 K",
CurrentValue < 1E9, "#,0,,.00 M",
CurrentValue < 1E12, "#,0,,,.00 B"
)
I