Forum Discussion

joshuajayyyyy's avatar
joshuajayyyyy
New Member
1 year ago
Solved

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 ...
  • suparnababu8's avatar
    1 year ago

    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

     

    • 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.

    If you need more information pls go through this https://community.fabric.microsoft.com/t5/Desktop/DAX-Formulas-for-Fiscal-Year-Fiscal-Quarter-and-Month-Short-Name/m-p/18268

     

    Thanks!