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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Remove rows

Hi all, 

In my report I have table, which  contain zero numbers of row.

How can I hide them. I dont wanna show "vendor #" row where "curr Yr Purchased $" and "Prior Yr Purchased $" equals $0.00

"curr Yr Purchased $" and "Prior Yr Purchased $" are measures.

tempsnip.png

help me resolve this problem. 

1 ACCEPTED SOLUTION
mussaenda
Super User
Super User

Hide 0 = IF([curr Yr Purchased $] = 0 && [Prior Yr Purchased $]  = 0, 1, 0)

Then put this column to your filters pane and uncheck 1. This must hide the 0 that you don't want to show.

View solution in original post

3 REPLIES 3
mussaenda
Super User
Super User

Hide 0 = IF([curr Yr Purchased $] = 0 && [Prior Yr Purchased $]  = 0, 1, 0)

Then put this column to your filters pane and uncheck 1. This must hide the 0 that you don't want to show.

MFelix
Super User
Super User

Hi @Anonymous ,

 

On the "curr Yr Purchased $" and "Prior Yr Purchased $"  measures you can make the following syntax.

curr Yr Purchased $ = IF(SUM(Table[Column] = 0 ; BLANK() ; SUM(Table[Column])

You should change the SUM(Table[Column]) by the syntax of your measure.

 

Regards,

MFelix

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Hi @MFelix , it's not work, any other idea?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.