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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.