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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors