Reply
avatar user
Anonymous
Not applicable
Partially syndicated - Outbound

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
v-rzhou-msft
Community Support
Community Support

Syndicated - Outbound

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
v-rzhou-msft
Community Support
Community Support

Syndicated - Outbound

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. 

 

avatar user
Anonymous
Not applicable

Syndicated - Outbound

Thank you for your help, @v-rzhou-msft! 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

Syndicated - Outbound

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. 

 

Syndicated - Outbound

Hi @v-rzhou-msft ,

 

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

 

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)