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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
mimigabriel
Regular Visitor

How to sort my fiscal month column e.g. JUL 01 , AUG 01

Hello Power bi Coummuntiy 

I real want to sort the fiscal month column e.g 

JUL 01 , AUG 01 ,SEP 01, OCT 01, NOV 01, DEC 01 then it continue  like jan 02 feb 02

Fiscal Month Number =
IF (
Sales[Month Number] > 6,
Sales[Month Number] - 6,
Sales[Month Number] + 6
)
by creating the above column i sorted the fiscal month. and the output is as shown bleow how can i convert this to the above example. Thank you in advance for your support. 
sreenshoot.PNG
1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @mimigabriel ,

I created some data:

vyangliumsft_0-1652415018588.png

Here are the steps you can follow:

1. Create calculated column.

Fiscal Month =
FORMAT('Table'[Date],"mmm") &" "& FORMAT('Table'[Date],"dd")
rank =
FORMAT([Date],"ddmm")

2. Create calculated table.

Table 2 = SUMMARIZE('Table','Table'[Date],'Table'[Fiscal Month],'Table'[rank])

3. Click [Fiscal Month] – sort by column – [rank].

vyangliumsft_1-1652415018592.png

4. Result:

vyangliumsft_2-1652415018593.png

 

Best Regards,

Liu Yang

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-yangliu-msft
Community Support
Community Support

Hi  @mimigabriel ,

I created some data:

vyangliumsft_0-1652415018588.png

Here are the steps you can follow:

1. Create calculated column.

Fiscal Month =
FORMAT('Table'[Date],"mmm") &" "& FORMAT('Table'[Date],"dd")
rank =
FORMAT([Date],"ddmm")

2. Create calculated table.

Table 2 = SUMMARIZE('Table','Table'[Date],'Table'[Fiscal Month],'Table'[rank])

3. Click [Fiscal Month] – sort by column – [rank].

vyangliumsft_1-1652415018592.png

4. Result:

vyangliumsft_2-1652415018593.png

 

Best Regards,

Liu Yang

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

Thank you so much was very helpful

mimigabriel
Regular Visitor

@amitchandak  

thank you for your quick replay

but the output i want to see is as follow JUL 01 , AUG 01 ,SEP 01, OCT 01, NOV 01, DEC 01 then it continue  like jan 02 feb 02

please let me know if you have any idea 

thank you 

amitchandak
Super User
Super User

@mimigabriel , this for a month name

 

Month= FORMAT([Date],"mmm")
Month sort = if(month([Date]) <=6, month([Date]) +6 ,month([Date]) -6)

 

Month Year = FORMAT([Date],"mmm-yyyy")
Month Year sort =if(month([Date]) <=6, year([Date]) -1 ,Year([Date])) *100  + if(month([Date]) <=6, month([Date]) +6 ,month([Date]) -6)

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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