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

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.

Highlighted
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 Ranks and Rank Icons in 2020

New Ranks and Rank Icons in 2020

Read the announcement for more information!

New Kudos Given Badges Coming

New Kudos Given Badges Coming

We're rolling out new Kudos Given badges. Find out how many Kudos you've given.

November 2019 Community Highlights

November 2019 Community Highlights

Get an overview of the events and great community content from November.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)