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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
TomerIwanir1
Helper II
Helper II

Matrix visual

Hi, I have a Matrix visual with 5 row levels coming from dim tables.
My values are 8 columns coming from 2 fact tables.
I’m getting a lot of completely blank rows that I don’t want to display.
I don’t see an option to remove empty rows in the visual, and I noticed that “Show items with no data” is not selected.

Any ideas how to remove the rows? thx

1 ACCEPTED SOLUTION
TomerIwanir1
Helper II
Helper II

Hi all, the problem is resolved

thx for the tips, I added my mistake a column which cused the empty rows, once removed it got fixed

View solution in original post

7 REPLIES 7
v-tsaipranay
Community Support
Community Support

Hi @TomerIwanir1 ,

Thank you for reaching out to the Microsoft Fabric Community Forum. Glad it got resolved and if any further help please reach out .

 

TomerIwanir1
Helper II
Helper II

Hi all, the problem is resolved

thx for the tips, I added my mistake a column which cused the empty rows, once removed it got fixed

cengizhanarslan
Super User
Super User

Power BI keeps a row in a Matrix if any row-header combination exists in the model. So you could you visual filters to filter any rows that is blank for each measure or create e measure as below and use it as a visual filter by setting it equal to 1.

 

Has Data =
VAR HasFact1 = NOT ISBLANK ( [Measure From Fact 1] )
VAR HasFact2 = NOT ISBLANK ( [Measure From Fact 2] )
RETURN
IF ( HasFact1 || HasFact2, 1, BLANK() )

 

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn
AI-assisted tools are used solely for wording support. All conclusions are independently reviewed.
Kedar_Pande
Super User
Super User

@TomerIwanir1 

 

Matrix → Filters pane → Each row field → Basic filtering → Uncheck "(Blank)"

Apply to all 5 row levels. Blank rows disappear.

danextian
Super User
Super User

Hi @TomerIwanir1 

 

It would be easier for us to help you if you provided a sample pbix (with confidential data removed). You can see you semantic model and data but we don't.

 

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
FBergamaschi
Super User
Super User

Please include, in a usable format, not an image, a small set of rows for each of the tables involved in your request and show the data model in a picture, so that we can import the tables in Power BI and reproduce the data model. The subset of rows you provide, even is just a subset of the original tables, must cover your issue or question completely. Alternatively, you can share your .pbix via some cloud service and paste the link here. Do not include sensitive information and do not include anything that is unrelated to the issue or question. Please show the expected outcome based on the sample data you provided and make sure, in case you show a Power BI visual, to clarify the columns used in the grouping sections of the visual.

 

Need help uploading data? click here

 

Want faster answers? click here

AntoineW
Super User
Super User

How do you done your relationship between tables ? 

This happens when multiple dimensions and fact tables create empty combinations.

 

Why do you want to remove empty rows ? Is it not relevant ? 

You could remove the column or if you only want to filter that has value, you could a DAX measure with condition IF() and NOBLANK() on column

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.