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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Fiscal year not the same as Calendar year

Our Fiscal quarters are not similar to calendar quarters. Our quarters are: 1st Nov-Dec-Jan 2nd Feb-Mar-Apr etc.

 

Is there any way to drill down on a bar chart and use our fiscal quarters (and have Nov-Dec-Jan be the 1st quarter)?. Alternatively, even if we can't drill down, is there any way to just show quarters based on our Fiscal quarters in a graph?

6 REPLIES 6
greggyb
Resident Rockstar
Resident Rockstar

Create a field in your date dimension that include the quarters as you use them. You can then plot against this field exactly as any other.

Anonymous
Not applicable

Thanks ! But I don't know how to do this. Do you maybe have an example?

You can also create specific measure if you wanna calculate for example a YTD on a fiscal year based on jul-jun

FYTD=CALCULATE(
sum(‘Tablix1′[nroforders])
, DATESYTD(‘Date'[Date],”06-01″)
,ALL(‘Date’))

See http://www.powerpivotblog.nl/using-time-intelligent-powerpivot-functions-with-fiscal-year/

 

On the other hand, you can create a custom date table :

- via Power Query http://www.powerpivotpro.com/2015/02/create-a-custom-calendar-in-power-query/

and add some calculated columns to build your fiscal calendar 

- via Power Pivot by adding calculated cols and playing with DAX Time function https://msdn.microsoft.com/en-us/library/ee634786.aspx 

In Power Query, you can create a column like the following in your date dimension, by adding a new custom column:

 

let
  Month = Date.Month( [Date] )
  ,Quarter =
    if Month = 1 or Month > 10
    then "Q1"
    else if 1 < Month and Month < 5
    then "Q2"
    else if 4 < Month and Month < 8
    then "Q3"
    else "Q4"
in
  Quarter

Where [Date] should be replaced with the name of your date field in your date dimension.

 

Now you can put the new field onto any visualization or filter.

sunnn
Frequent Visitor

hi can we hide the original date column in the visualisation

greggyb
Resident Rockstar
Resident Rockstar


@sunnn wrote:

hi can we hide the original date column in the visualisation


What do you mean by this? We can suppress axis titles and labels in the visual 'Format' menu (paintbrush below 'Visual' pane). We can use alternate fields as the axis labels instead of a date field (just replace DimDate[Date] with another field in the 'Axis' field well).

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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