Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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.
Solved! Go to Solution.
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.
Hi @maharojusatya,
Checking in to see if your issue has been resolved. let us know if you still need any assistance.
Thank you.
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.
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.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |