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
adityo
Frequent Visitor

Create blank rows after certain GL account by using measures in an matrix visualization

Hi Power BI Experts,

 

I need to create blank rows in matrix visualization like this, and bold in some gl account by using measures: 

adityo_0-1649832469323.png

 

This is my table looks like

adityo_1-1649832865401.png

2 REPLIES 2
PaulDBrown
Community Champion
Community Champion

Here is one way/hack.
In my example, this is the basic fact table:

table.jpg

 

Create a new table with the row structure including the blank rows (I just created this in Excel and copy/pasted it into a new table using the "Enter data" option under Home in the ribbon).

row table.jpg

 

 Leave this Row Table unrelated in the model:

model.jpgNext create the following measure to use in the table visual:

 

 

 

SumValue =
CALCULATE (
    SUM ( FTable[Value] ),
    TREATAS ( VALUES ( 'Row Table'[RCategory] ), FTable[Category] )
)

 

 

 

Create a table visual using the fields from the Row Table and the [SumValue] measure.

Setup.jpg

 Turn off the word wrap options in the formatting pane:

wrap.jpgNow hide the Order column by dragging the right boundary left as follows:

BR.gif

It will also work with the matrix layout, though you have to turn off the "Word Wrap" option for the Row headers (and the stepped layout turned to off)

Matrix and Table.jpg

 

 

I've attached the sample PBIX file





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






amitchandak
Super User
Super User

@adityo , refer Curbal's excel integration in app , I think that can help


https://www.youtube.com/watch?v=IISYzTaIyu4

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

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