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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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