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
AvPowerBI
Post Patron
Post Patron

Matrix Visualization - Suppress Zero and Missing Rows

Hi,

 

I am currently using a Matrix Visualization, I want Suppress Zero and Missing Rows?

Currently all the Rows are showing because of the way the DAX Measure is being calculated and cannot think of an alternative way to deal with this.

 

Basically I want those Rows to be grouped as blank or Null and appear on the Visuzalization, is this possible?

 

Thanks

 

 

 

5 REPLIES 5
v-easonf-msft
Community Support
Community Support

Hi, @AvPowerBI 

Could you please tell me whether your problem has been solved?

For now, there is no content of description in the thread.

 

Best Regards,
Community Support Team _ Eason

Greg_Deckler
Community Champion
Community Champion

@AvPowerBI - Perhaps something like:

Measure =
  VAR __Calc = <some calculation>
RETURN
  IF(__Calc = 0,BLANK(),__Calc)

Make sure that "Show items with no data" is not turned on anywhere. 

 

Otherwise, Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
v-easonf-msft
Community Support
Community Support

Hi, @AvPowerBI 

Could you  please  share relevant screenshots to further elaborate on your question?

 

Best Regards,
Community Support Team _ Eason

amitchandak
Super User
Super User

@AvPowerBI , not very clear. Try measure like

 

if([measure] =0 , blank(), [measure])

 

if(calculate([measure]) ,allexcept(Table,Table[row])) =0, blank(), [measure]) // row is column on row.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

HI @AvPowerBI 

Can you please provide more info with screenshots, input and required output in table format for the community so that you ask can be better understood and resolved quickly.

from what I understand, I would use

Visual Control = 
var _result = 
CALCULATE(
    SUM('Table'[Value]),
    ALLEXCEPT('Table','Table'[Category])
)
return
IF(
    _result>0,
    1,0
)

Then,

pranit828_0-1599040494393.png

 

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.