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
Rigoleto
Helper II
Helper II

How remove rows with blanks and zeros values

I need to create a table but, it is inserting some blank rows as the screenshot shown, I did use this code to built the new table, can someone adivice about to remove those garabage rows

 

 

Slicer =

SUMMARIZE (
ALL ( 'New Line Balance Table' ),

'New Line Balance Table'[Org SEQ],

"seq", MAX('New Line Balance Table'[Org SEQ])

)

 

blanks.png

1 ACCEPTED SOLUTION
v-danhe-msft
Employee
Employee

Hi @Rigoleto,

Hi,

Based on my test, you can refer to below steps:

1.I have entered some sample data to test for your problem like the picture below.

A.PNG2.

2.Create a new table and you can see the correct result.

Without First Row = CALCULATETABLE('Table1',FILTER('Table1','Table1'[Column1]<>BLANK()))

B.PNG

You can also download the PBIX file to have a view.

https://www.dropbox.com/s/zzz189daek6449j/How%20remove%20rows%20with%20blanks%20and%20zeros%20values...

 

Regards,

Daniel He

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-danhe-msft
Employee
Employee

Hi @Rigoleto,

Hi,

Based on my test, you can refer to below steps:

1.I have entered some sample data to test for your problem like the picture below.

A.PNG2.

2.Create a new table and you can see the correct result.

Without First Row = CALCULATETABLE('Table1',FILTER('Table1','Table1'[Column1]<>BLANK()))

B.PNG

You can also download the PBIX file to have a view.

https://www.dropbox.com/s/zzz189daek6449j/How%20remove%20rows%20with%20blanks%20and%20zeros%20values...

 

Regards,

Daniel He

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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