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.

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
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 144 members 1,613 guests
Please welcome our newest community members: