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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

2 REPLIES 2
suparnababu8
Responsive Resident
Responsive Resident

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors