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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
unclejemima
Post Patron
Post Patron

Convert to whole number not workign

I thought I asked this question last week, but dang if I could find the post...sorry if this is a duplicate.

 

Anyhow, I've got a column I'm trying ot convert to whole number, but I get an error.


The table consists of 4 digit numbers...but there are some values with blanks...hence the error (or so I think)

 

How would I mod the querey to exclude anything with blanks?

 

Thanks!

1 ACCEPTED SOLUTION
zbalder
Frequent Visitor

 In your report go to Edit Queries, then from the left select the table where you need to remove the blanks and then on the column you want click the drop down arrow and select Remove Empty option. Then click Close & Apply and that should do it.

 

RemoveEmpty.png

 

 

View solution in original post

2 REPLIES 2
zbalder
Frequent Visitor

 In your report go to Edit Queries, then from the left select the table where you need to remove the blanks and then on the column you want click the drop down arrow and select Remove Empty option. Then click Close & Apply and that should do it.

 

RemoveEmpty.png

 

 

ricardocamargos
Continued Contributor
Continued Contributor

Hi @unclejemima,

 

Why don't u filter the blank before converting it ?

 

Thanks,

 

Ricardo

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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