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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Your file has been submitted successfully. We’re processing it now - please check back in a few minutes to view your report.
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