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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
janez599
Regular Visitor

Please Help: change data type from text to decimal number

Hi there, I am new to Excel and Power BI Desktop. I am using a text file with many columns to analyze our website traffic. One of the columns is click-through rate was imported as a text. I wanted that changed to a Fixed Decimal Number. However, every time I changed the data type from text to decimal number, every row of this column returned with "Error". When I click on the Error to see what they problem is, I receive this notice: DataFormat.Error: We couldn't convert to Number. Details: 7.81% What shall I do to convert the data type properly? Thanks a lot in advance. Jane
1 ACCEPTED SOLUTION
Daniil
Kudo Kingpin
Kudo Kingpin

There are several steps involved:

 

  1. Right-click the column, select Replace Values...
    ReplaceValues.png

  2. Replace the % symbol with nothing
    ReplacePercent.png

  3. Change Type to Fixed Decimal Number
    ChangeType.png

  4. Since this is a percentage, you need to divide by 100
    Divide.pngDivideBy100.png

  5. Finally, you get the desired result
    Final.png

View solution in original post

3 REPLIES 3
Daniil
Kudo Kingpin
Kudo Kingpin

There are several steps involved:

 

  1. Right-click the column, select Replace Values...
    ReplaceValues.png

  2. Replace the % symbol with nothing
    ReplacePercent.png

  3. Change Type to Fixed Decimal Number
    ChangeType.png

  4. Since this is a percentage, you need to divide by 100
    Divide.pngDivideBy100.png

  5. Finally, you get the desired result
    Final.png

i have data of sales  in the format let say

$1,00,12,223.00

$2,99,23,223.00 

 and so on of 700 rows and whenever i load the data and see it in query exditor then it showing its data type as ABC text 

i tried few times but could not able to change it 

please help!

@Daniil 

@janez599 

@PowerBI 

Thanks a lot Daniil for your detailed instruction!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors