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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Appe
Frequent Visitor

Define fiscal year in a measure

Hello,

 

The client I'm working with just changed their fiscal year from the normal calendar year to july - june and I need to make some changes in Power BI accordingly. We've been using the following formula to summarize the budget:

 

FSG Budget FO = CALCULATE(sum('Anso Goal TG'[FSG]);
year('Anso Goal TG'[Goal startdate]) = year(now()); month('Anso Goal TG'[Goal startdate]) < month(now()))

 

However since year now is defined by the calendar year I need to make change the formula to correspond with the new fiscal year. The strucutre of the formula above is used in some additional places so it would probably be best to define the fiscal year somehow to be able to re use the logic.

 

Any ideas?

 

Best,

Appe

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support

Hi @Appe,

 

Assume the fiscal year is from July 1st to June 30th of the next year. You can create a calculated column below: 

 

Fiscal Year = IF(MONTH('Table'[Date]) <=6,YEAR('Table'[Date]),YEAR('Table'[Date]) +1)

 

Then replace the year(now()) with this new column Fiscal Year. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-qiuyu-msft,

 

Thank you for the reply!

 

In your solution, would it be something like IF(MONTH('accounts'[DateWon]) <=6,YEAR('accounts'[DateWon]),YEAR('accounts'[DateWon]) +1)? So i'd re use the same date throughout the formula? 

 

Best,

Anders

 

 

Hi @Appe,

 

Yes, you need to create a new column to return fiscal year based on DateWon column in your scenario, then use this new column in FSG Budget FO formula. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.