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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
badluckmath
Frequent Visitor

Error while converting to numeric

So, i'm trying to convert some Data to numeric of Clicks, impressions, etc on ADS.

When i do this, the N/A rows are converted into Error and you can see below:

Erro.png

 

Here, you can see a converted column (Impressions) and a must-be-coverted Columns  ( Clicks,etc.)

1 ACCEPTED SOLUTION
AnkitKukreja
Super User
Super User

Hi @badluckmath 

 

This is giving error because of obvious reason i.e. NA cannot be converted to number.
As a best practice I convert NA to '0' before converting it to numeric format or I give it a random number '9999' to identify these later on in your analysis.

 

Thanks,
Ankit Kukreja

LinkedIn

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

View solution in original post

1 REPLY 1
AnkitKukreja
Super User
Super User

Hi @badluckmath 

 

This is giving error because of obvious reason i.e. NA cannot be converted to number.
As a best practice I convert NA to '0' before converting it to numeric format or I give it a random number '9999' to identify these later on in your analysis.

 

Thanks,
Ankit Kukreja

LinkedIn

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.