cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

Accepted Solutions
Highlighted
Frequent Visitor

Re: Convert to whole number not workign

 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
Highlighted
Continued Contributor
Continued Contributor

Re: Convert to whole number not workign

Hi @unclejemima,

 

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

 

Thanks,

 

Ricardo

Highlighted
Frequent Visitor

Re: Convert to whole number not workign

 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

Helpful resources

Announcements

August Community Highlights

Check out a full recap of the month!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors