cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
marrag Frequent Visitor
Frequent Visitor

Set X-axis gridline to point at the beginning of week

Hi,

 

I would like to have vertical gridline on linechart to point start of each week (each Monday). My data are daily and by default Power BI displays MM YYYY and adds gridline only at the beginning of the monthimage.png

Can anyone help?

2 REPLIES 2
Highlighted

Re: Set X-axis gridline to point at the beginning of week

Hi @marrag ,

 

Select the visualization and go to Format settings and --> X axis --> and change the Type to "Categorical".

Default setting will be on "Continuous". Below is the screenshot for your reference.

Community Question1.png

 

Hope this will help you.

 

Regards,

Pavan Vanguri.

marrag Frequent Visitor
Frequent Visitor

Re: Set X-axis gridline to point at the beginning of week

Hi,

changing axis to categorical disables gridlione option entirely. I think categorical date is treated as text and therefore gridlines aren't supported. https://community.powerbi.com/t5/Desktop/line-chart-gridlines/td-p/569721

 

Best regards

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (3,269)