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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.