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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
android1
Post Patron
Post Patron

Using Week Number in X axis of Line Chart

Hi,

 

In below line chart I'd like to show Week Number along the bottom axis instead of month. I am using column Service Date which when I change to Date Hierarchy, I only get the option of Year.

 

Line Chart.jpg

1 ACCEPTED SOLUTION
jbocachica
Resolver II
Resolver II

Hi, you must create your own hierarchy, just add a column with WEEKNUM(YourTable[YourDateField],1) and use that column in your chart.

 

If you want to see, just download the PBIX

https://mliworkers.blob.core.windows.net/jboca/Chart%20with%20Week.pbix

 

Regards

 

John Bocachica
Senior BI Consultant
Information Workers
http://www.iwco.co

View solution in original post

3 REPLIES 3
jbocachica
Resolver II
Resolver II

Hi, you must create your own hierarchy, just add a column with WEEKNUM(YourTable[YourDateField],1) and use that column in your chart.

 

If you want to see, just download the PBIX

https://mliworkers.blob.core.windows.net/jboca/Chart%20with%20Week.pbix

 

Regards

 

John Bocachica
Senior BI Consultant
Information Workers
http://www.iwco.co

Yes, that works. Thanks very much.

Just remember to click to accept as a solution 😉

 

Regards

John Bocachica
Senior BI Consultant
Information Workers
http://www.iwco.co

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.