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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors