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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
AppleJuice
Frequent Visitor

How do I remove the row with zero or blank and keep anything that have value in either column

Hi, 

 

Im creating two columns with measures in matrix, and i want to only keep the row with values (either in one column or both columns). How do i do that? Thanks.

 

AppleJuice_0-1715021549978.png

 

2 ACCEPTED SOLUTIONS
Kaviraj11
Super User
Super User

Create a Measure:

 

IF(SUM(Ending_Balance)+Sum(Last_Year_Ending_Balance)=0 || SUM(Ending_Balance)+Sum(Last_Year_Ending_Balance)=BLANK(),0,1))

 

Put the measure in Filter pane and assign it to 0.

 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

fahadqadir3
Super User
Super User

Measure with zero.jpg

Power BI File attached, I created a measure that SUM the all measures and used as filter, if its greater that zero, then it should be presented in table. 

for blank rows Uncheck the Show items with no data 

fahadqadir3_0-1715023436251.png

 

zero measure.pbix

 

Regards,

Fahad Qadir

Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!

View solution in original post

2 REPLIES 2
fahadqadir3
Super User
Super User

Measure with zero.jpg

Power BI File attached, I created a measure that SUM the all measures and used as filter, if its greater that zero, then it should be presented in table. 

for blank rows Uncheck the Show items with no data 

fahadqadir3_0-1715023436251.png

 

zero measure.pbix

 

Regards,

Fahad Qadir

Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!

Kaviraj11
Super User
Super User

Create a Measure:

 

IF(SUM(Ending_Balance)+Sum(Last_Year_Ending_Balance)=0 || SUM(Ending_Balance)+Sum(Last_Year_Ending_Balance)=BLANK(),0,1))

 

Put the measure in Filter pane and assign it to 0.

 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors