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

x axis interval labeling

I have a data model whose lowest "date" resolution is fiscal month.  That is, my "date" dimension table has 1 row per fiscal month.  Because it's a dimension table, I have also included fiscal year attributes in it.  So, an example row is like:

Fiscal Month Key       Fiscal Month Name       Fiscal Year ID        Fiscal Year Name

202101                       Apr FY21-22                  2021                        FY21-22

 

I need to create a line chart with fiscal month as my x-axis, but modified to look like:

 

x axis.png

 

That is:

1) The x axis resolution has to be fiscal month.

2) But, the field labels for fiscal month should not be displayed.

3) Instead, for month 1 of each FY, display a fiscal year label.

 

How can I achieve this?  Is this even possible in PBI?

3 REPLIES 3
samdthompson
Memorable Member
Memorable Member

Sorry, I didnt understand the problem. No, i dont think that can be done using standard visuals. Its most probably a job for charticulator.

 

 

// if this is a solution please mark as such. Kudos always appreciated.
samdthompson
Memorable Member
Memorable Member

Make a column in your date table concatenating the Yr and Mo - something like CONCATENATE([YR],[MO]), Then make sure the fiscal yr/mo is sorted by a date:

 

ColumnTools>>>SortBy

 

when you bring the Yr/Mo into the xaxis, it will then be sorted in date order you need

 

 

// if this is a solution please mark as such. Kudos always appreciated.
Anonymous
Not applicable

@samdthompson 

 

I don't understand how that solves my problem.  My problem isn't how to sort my text labels.  As shown in the screenshot, my requirements are:

-the interval to be (fiscal) month (e.g., Aug FY20-21)

-the (fiscal) month field values not to be displayed

-the (fiscal) year label field to display at the beginning of each (fiscal) year (i.e., month 1 of each FY)

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.