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
joshuajayyyyy
New Member

Formatting a table in a report

Hi I am new to powerbi and was hoping to get some help with a table visualisation.

 

I am using months for this table and it reads off the calendar year instead of my intended fiscal year starting from Oct. I am hoping to change this so it shows October at the top instead of January.

 

joshuajayyyyy_0-1725503367126.png

Am currently using editing this using the browser function as it is a published report

1 ACCEPTED SOLUTION
suparnababu8
Super User
Super User

Hi @joshuajayyyyy 

To adjust your table to reflect a fiscal year starting in October, you can create a custom column in your date table to represent the fiscal month. Here’s a DAX formula to help you achieve this:

FiscalMonth =
IF (
MONTH([Date]) >= 10,
MONTH([Date]) - 9,
MONTH([Date]) + 3
)

-->Sort Your Month Column by Fiscal Month

suparnababu8_1-1725511320389.png

 

  • After creating the FiscalMonth column, go to the “TableView” tab.
  • Select your original month column ( MonthName).
  • Click on “Sort by Column” and choose FiscalMonth.

Now you'll get your expected outptut as mentioned below.

suparnababu8_2-1725511389466.png

If you need more information pls go through this https://community.fabric.microsoft.com/t5/Desktop/DAX-Formulas-for-Fiscal-Year-Fiscal-Quarter-and-Mo...

 

Thanks!




View solution in original post

2 REPLIES 2
suparnababu8
Super User
Super User

Hi @joshuajayyyyy 

To adjust your table to reflect a fiscal year starting in October, you can create a custom column in your date table to represent the fiscal month. Here’s a DAX formula to help you achieve this:

FiscalMonth =
IF (
MONTH([Date]) >= 10,
MONTH([Date]) - 9,
MONTH([Date]) + 3
)

-->Sort Your Month Column by Fiscal Month

suparnababu8_1-1725511320389.png

 

  • After creating the FiscalMonth column, go to the “TableView” tab.
  • Select your original month column ( MonthName).
  • Click on “Sort by Column” and choose FiscalMonth.

Now you'll get your expected outptut as mentioned below.

suparnababu8_2-1725511389466.png

If you need more information pls go through this https://community.fabric.microsoft.com/t5/Desktop/DAX-Formulas-for-Fiscal-Year-Fiscal-Quarter-and-Mo...

 

Thanks!




RossEdwards
Solution Sage
Solution Sage

A problem with a fairly straight forward solution fortunately.  Each column has a sort by order.  By default a text column will sort alphabetically but you can click on a column in your model and tell it to use a different "Sort By Column".  Since your Month column is already sorting Jan to Dec, which is not alphabetical, then its likely its been set to sort by Month Number.

 

So what you need to do is create a new column in that table, which i'm assuming is a calendar table, and have that column be your fiscal month number, where October = 1 and September = 12.  Then you just need to update your month names to sort by this new column.

 

Consideration:  Sometimes you want your month labels to sort by Calendar month still.  Maybe its worth having a brand new Month called 'Fiscal Month' which has the same text as your month name but has the Fiscal Month sorting instead.

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 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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