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
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