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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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