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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
maharojusatya
New Contributor

Power BI Report builder Matrix formatting issue

Hi ,

 

Need help in Power BI Report builder Matrix formatting below where i need to get the Vertical and Horizontal grid lines in the visual. Could you please help on the above issue.

 

 

 

1 ACCEPTED SOLUTION
cengizhanarslan
Valued Contributor II

In Power BI Report Builder, grid lines in a Matrix are controlled at the cell and row level, not by a single “gridlines” toggle like in Power BI Desktop.

To show both vertical and horizontal grid lines, select the entire matrix first (click the grey handle in the top-left corner), then in the Properties pane set BorderStyle = Solid, BorderWidth = 1pt, and choose a BorderColor. This applies an outer border only.

Next, you need to apply borders to the cells themselves. Click inside the matrix, select all data cells, row headers, and column headers (you can drag to multi-select), then set Left, Right, Top, and Bottom borders to Solid with the same width and color. This is what actually creates the internal grid lines.

If some lines are still missing, check the Row Groups and Column Groups. Select each group (including totals) and ensure the border settings are applied there as well, since grouped rows can override cell borders.

Once this is done, the matrix will render with clear vertical and horizontal grid lines in the report output.

_________________________________________________________
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.

View solution in original post

3 REPLIES 3
cengizhanarslan
Valued Contributor II

In Power BI Report Builder, grid lines in a Matrix are controlled at the cell and row level, not by a single “gridlines” toggle like in Power BI Desktop.

To show both vertical and horizontal grid lines, select the entire matrix first (click the grey handle in the top-left corner), then in the Properties pane set BorderStyle = Solid, BorderWidth = 1pt, and choose a BorderColor. This applies an outer border only.

Next, you need to apply borders to the cells themselves. Click inside the matrix, select all data cells, row headers, and column headers (you can drag to multi-select), then set Left, Right, Top, and Bottom borders to Solid with the same width and color. This is what actually creates the internal grid lines.

If some lines are still missing, check the Row Groups and Column Groups. Select each group (including totals) and ensure the border settings are applied there as well, since grouped rows can override cell borders.

Once this is done, the matrix will render with clear vertical and horizontal grid lines in the report output.

_________________________________________________________
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.
v-saisrao-msft
Honored Contributor III

Hi @maharojusatya,

Have you had a chance to review the solution we shared by @cengizhanarslan? If the issue persists, feel free to reply so we can help further.

 

Thank you.

v-saisrao-msft
Honored Contributor III

Hi @maharojusatya,

Checking in to see if your issue has been resolved. let us know if you still need any assistance.

 

Thank you.

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

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.

Users online (80)