Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
ACol123
Helper I
Helper I

Can anyone help me formatting the millions?

Hi everyone.

I imported a csv into my Power BI project. The data present in the csv has the "." as a separator. and not the comma.

How can I replace the dot with a comma? For example I would need 336.63M Esempio PBI.pngto be 336.63

 

5 REPLIES 5
Ahmedx
Super User
Super User
Ahmedx
Super User
Super User

try this

m1 = FORMAT([Measure],"#,,.0M","fr-fr") // replace the dot with a comma
OR
m2 = FORMAT([Measure],"#,,.0M","us-EN") // replace the comma with a dot

I entered the formula: FORMAT/[Measure];"#.00";"us-EN")

but FORMAT transforms the measurement into text, it doesn't help me with the graphs.

Ritaf1983
Super User
Super User

Hi @ACol123 
Do the numbers on CSV convert to millions format?

I didn't understand the example that you gave...
can you share please a few rows of data?

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Uzi2019
Community Champion
Community Champion

Hi @ACol123 
You can use Subsitute function like below for replace . with ,
Total  = SUBSTITUTE(MIN([amount],".",",")

 

If this not what you are ex

pecting then provide the input data and expected out in excel form.

If my post helps please give kudos and accept it as a solution!
thanks

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.