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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
janwillem
Frequent Visitor

How can I hide rows with value 0 (in all columns)

I have a stock overview but I don't want show the 0 values (0 must be in all colums). The values in de columns are measures. 

Example:

 

Description       Begin Stock     Purch. today     Sales today     End Stock | Purch. tomorrow    Sales tomorrow  End Stock tomorrow |

Strawberries A            0                      0                     0                       0                    0                             0                           0 

Strawberries B         1000                     100                 500                   600                                              600                            0 

 

I will hide row "Strawberries A"

5 REPLIES 5
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @janwillem,

 

If I understand you correctly, you should be able to use the formula below to create a new measure, then use it as a visual level filter("Sum of ALL Measures" is greater than 0) to hide row "Strawberries A" on the Table visual in your scenario. Smiley Happy

Sum of ALL Measures =
[Begin Stock] + [Purch. today]
    + [Sales today]
    + [End Stock | Purch. tomorrow]
    + [Sales tomorrow]
    + [End Stock tomorrow]

 

Regards

Anonymous
Not applicable

Hi Thanks for nice trick, Is there a way to hide this measure from the table visual? its not part of the report.

Hi @janwillem,

 

Have you tried the solution provided above? Does it work in your scenario?

 

If you still have any question on this issue, feel free to post here. Smiley Happy

 

Regards

opticshrew
Resolver II
Resolver II

Hi there,

 

I think you could acheive this in a couple of ways:

 

Method 1:

Within your report set a page/visual level filter that selects all non 0 values.

 

Method 2:

Go into the query editor and filter the rows with the values so there are non 0 values.

 

Thanks,

J

 

I doesn't work, the columns are all calculated values. I can't put the calculated value not in the "Page level filters" to filter with <> 0.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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 Kudoed Authors