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! Learn more

Reply
ashmitp869
Post Partisan
Post Partisan

Don't show the data when its zero in matrix visual

Hi All,

 

How can I not show when the values are zero in matrix.

So , the Date 4/07/2024 and 5/07/2024 should not be showing.

 

ashmitp869_0-1724731195162.png

Requirement is like below :

ashmitp869_1-1724731228475.png

 

1 ACCEPTED SOLUTION

Hello @ashmitp869,

Deactivate "Show items with no data" in the column [Date].

Ronald123_1-1724742763858.png



Greets,

Ronald



View solution in original post

6 REPLIES 6
shafiz_p
Super User
Super User

Hi @ashmitp869  Firstly I want you to update your power bi to the latest version, if not.  

I have tried your provided file, opened a new page and place the same rows and columns accordingly and it worked for me.

I have found you relationship as below image:

shafiz_p_0-1724741540730.png

 

This is the measure:

EmployeeHours =
SUM(DSR[DSRHours]) + SUM(Leave[Leave_Hours])

This is the output, which is you want.
shafiz_p_1-1724741675598.png

 

Suggesting you to create a new matrix visual.

Hope this helps!!

If this solved your problem, Please accept it as a solution!!

 

Best Regards,
Shahariar hafiz


Hello @ashmitp869,

Deactivate "Show items with no data" in the column [Date].

Ronald123_1-1724742763858.png



Greets,

Ronald



Irwan
Super User
Super User

hello @ashmitp869 

 

how about visual filter?

Irwan_0-1724733002556.png

 

Hope this will help.

Thank you.

Hi ,

I have tried this but still showing.

The measure calculation is

EmployeeHours = CALCULATE(SUM(DSR[DSR_TimeSheet_Total_Hours]) + SUM(ConnXLeave[Leave_Hours]))

 

ashmitp869_0-1724733340751.png

 

hello @ashmitp869 

 

ah i see, that is a measure so forget about visual filter.

 

how about to put blank as result of zero sum?

Irwan_0-1724734575541.png

Measure = 
var _Sum = SUM('Table'[Hours])
Return
IF(
    _Sum=0,
    BLANK(),
    _Sum
)

 

change _Sum formula to yours.

 

Hope this will help.
Thank you.

Can you please me what I am doing wrong. I have added a sample file.

https://github.com/suvechha/samplepbi/blob/main/sample.pbix

 

 

I don't want to show the blank.

ashmitp869_0-1724735550085.png

 

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 Solution Authors