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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
billymild
New Member

Excel sheet for data, Dataformat Error for character "-"

billymild_0-1646328297477.png

billymild_1-1646328310525.png

 

Most of the entries on this column on the Excel sheet are actual decimal numbers, but a lot just have the character "-". I would like to make this 0 instead of "-". Is there an easy to do this? 

 

1 ACCEPTED SOLUTION
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @billymild, please use "Replace Value" to change the "-" to "0".  You will find this function on the menu bar.

DarylLynchBzy_0-1646329129259.png

 

View solution in original post

3 REPLIES 3
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @billymild, please use "Replace Value" to change the "-" to "0".  You will find this function on the menu bar.

DarylLynchBzy_0-1646329129259.png

 

billymild_0-1646333973643.png

 

 

I  tried that at first and it doesn't recognize the "-" as a value. 

That's because your column type is numerical. Load it as a text column, do the replacement, then convert it to a numerical column.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.