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

Custom Date Table for Fiscal Year

I have created a spreadsheeet for our Fiscal Year (which runs 365 days after the prior, not by first of the month and starts sometime in April - funky, but it is what it is).  I have imported it and set it as my date table.

 

I have columns for date, calendar month (which I need for vendors), period (which is our fiscal month), Fiscal year, start of month, start of year, fiscal week and fiscal quarter.  

 

I understand that I choose the date column when setting it (worked perfectly and I have the little icon designating date as the date field), but how do I "tell" Power Bi which columns to use for my FY months and quarters, etc?  

 

I have watched 5 different videos and it's not clicking for me.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Using your calendar, if you summarize your data then you will get it across your fiscal year. Time intelligence functions like datesytd and totalytd allow you to mention the year-end. But year should a complete year like 1-apr-2019 to 31-Mar-2020(366 days).

 

Like

YTD Sales = CALCULATE(SUM(Table[Total Units]),DATESYTD(('Date'[Date]),"3/31"))

 

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

Using your calendar, if you summarize your data then you will get it across your fiscal year. Time intelligence functions like datesytd and totalytd allow you to mention the year-end. But year should a complete year like 1-apr-2019 to 31-Mar-2020(366 days).

 

Like

YTD Sales = CALCULATE(SUM(Table[Total Units]),DATESYTD(('Date'[Date]),"3/31"))

 

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.