cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
howasam
Regular Visitor

Conver Millions to 4.5 Million

I am attempting to use formatting to get my  numbers in millions but I need vsibility to 1 signficant figures after the millions digit. The formual I am using is:

 

Gross Rev Text = FORMAT ( [Gross Revenue], "#,#,M")

 

This takes 4,512,123 and Makes it 4,512M but I want it to show 4.5M. I cannot figure out either how to get the decimal to show instead fo the comma nor how to get it to limit down to less then the full 3 signifcant digitis. In excel this format does what I desire:

 

#.0,,"M"

1 ACCEPTED SOLUTION
chethan
Resolver III
Resolver III

Hi @howasam

 

You Can change the Display Units in Settings in visualization Tab 

 

 

Regards,

Chetan K

View solution in original post

2 REPLIES 2
sgsukumaran
Resolver II
Resolver II


Num Col =
IF (
[Gross Revenue] >= 1000000,
FORMAT ( [Gross Revenue], "#,##0,,m" ),
IF (
[Gross Revenue] >= 1000,
FORMAT ( [Gross Revenue], "#,##0,k" ),
FORMAT ( [Gross Revenue], "General Number" )
)
)

chethan
Resolver III
Resolver III

Hi @howasam

 

You Can change the Display Units in Settings in visualization Tab 

 

 

Regards,

Chetan K

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors