cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors
Top Kudoed Authors