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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
siddhantk989
Helper III
Helper III

Custom month display in a graph

Hi,

 

 I am trying to create a line graph between months of Fiscal date and sales. Now my fiscal date actually starts from October, so on the x axis of my line graph I want the months to start from October and not January. Is there any way to do that?

1 ACCEPTED SOLUTION
Dog
Responsive Resident
Responsive Resident

you'll need to add an order calculated column into the table with the dates. 

 

typically in our dates table we have a Month of Year Column which holds a 1 for january, 2 for Feb etc... 

if you have this you can then add a calc column to store the order. 

 

=if([Month Of Year]-9<=0,[Month Of Year]+12-9,[Month Of Year]-9)

 

you can then set the order by column on any referenced date columns (so your fiscal date column) to newly created order by column. 

 

I hope that makes sense. 

 

 

View solution in original post

1 REPLY 1
Dog
Responsive Resident
Responsive Resident

you'll need to add an order calculated column into the table with the dates. 

 

typically in our dates table we have a Month of Year Column which holds a 1 for january, 2 for Feb etc... 

if you have this you can then add a calc column to store the order. 

 

=if([Month Of Year]-9<=0,[Month Of Year]+12-9,[Month Of Year]-9)

 

you can then set the order by column on any referenced date columns (so your fiscal date column) to newly created order by column. 

 

I hope that makes sense. 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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