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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
TAMOREIRA
Frequent Visitor

Current Day of the Fiscal Year DAX

I have been trying to figure something out for a few days now. 

I used the following solution to get current workday of the month here as "Institutional.CurrentWorkDay".

 

Institutional.CurrentWorkDay = IF('Date'[Institutional.WorkDay]=0, BLANK(), CALCULATE( SUM('Date'[Institutional.WorkDay]), ALLEXCEPT('Date', 'Date'[Calendar Month Name],'Date'[Calendar Year]), 'Date'[Day] <=EARLIER('Date'[Day]) ) )

 

How would I edit the formula to get workday of the fiscal year? Or is there a better way to write the sequence of "day of the fiscal year"? 

Workday.PNG

1 REPLY 1
lbendlin
Super User
Super User

If I were you I would maintain that information in your Dates table. So much easier than trying to do it in code.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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