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
Meet the 2020 Season 2 Power BI Super Users!

Meet the 2020 Season 2 Power BI Super Users!

Find out who's part of the program this season, and welcome the new Super Users.

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!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Top Solution Authors
Top Kudoed Authors