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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.