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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Custom Axis Labeling

Is it possible to modify the labeling on an axis?

 

For example, I have a line chart with quantities on the y-axis and iso week numbers on the x-axis. Instead of displaying the week number (1, 2, 3, etc.), I want to display months (January, February, March, etc.). Here's the rub: I still want to analyze by week.

 

ScreenShot202007221446.jpg

 

If you can help me figure this out, I'll be grateful!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

You can add a Month Column and use Dirll up and Drill down operation.

Table:

1.png

Drag Month Column into Axis:

2.png

Result:

3.png

Then we need to turn off Concatenate labels in X axis.

4.png

Trun on the Drill Mode and Click the Month we want to search:5.png

Or Click here to see all data in this visual:

7.png


You can download the pbix file form this link:

https://qiuyunus-my.sharepoint.com/:u:/g/personal/tongzhou_qiuyunus_onmicrosoft_com/EZRqvPHvrOhFpF51xuNC0uYBxs4gJ-ngL3u7Aw0u-e3xGQ?e=NteNYf

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous 

You can add a Month Column and use Dirll up and Drill down operation.

Table:

1.png

Drag Month Column into Axis:

2.png

Result:

3.png

Then we need to turn off Concatenate labels in X axis.

4.png

Trun on the Drill Mode and Click the Month we want to search:5.png

Or Click here to see all data in this visual:

7.png


You can download the pbix file form this link:

https://qiuyunus-my.sharepoint.com/:u:/g/personal/tongzhou_qiuyunus_onmicrosoft_com/EZRqvPHvrOhFpF51xuNC0uYBxs4gJ-ngL3u7Aw0u-e3xGQ?e=NteNYf

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

 

Anonymous
Not applicable

Thank you for your help, @Anonymous! Your solution worked for the issue I had, but now I have a new problem: my graph breaks apart. Do you (or anyone else) have any thoughts on how to fix it?

 

ScreenShot2020231048.jpg

Anonymous
Not applicable

Hi @Anonymous 

You may build a calendar.

Here I have a test. Firstly I build a calendar table(date) as below:

date = CALENDAR("2020/1/1","2020/2/1")
Result:
1.png
Then build a table with Non-consecutive dates:
3.png
Build relationship between two tables and build a line chart.
X Axis use Date column in Date Table, value use Column1 in Table.
Result:
4.png
The line chart has been fixed.

You can download the pbix file form this link:

https://qiuyunus-my.sharepoint.com/:u:/g/personal/tongzhou_qiuyunus_onmicrosoft_com/EekgGirZ6jhGqMosPav6ASgB12z-oHvAaMLHVE2fx2ZGFg?e=4X8EX6

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

 

Hi @Anonymous ,

 

I am having similar issue. I was trying to access the pbix files which you posted both of them are not working. 

could you plz share the pbix file .

 

thanks

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.