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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
n_braun
Regular Visitor

Count years continuously from the release date of a product

Hello all,

 

is there a way to count years continuously from the release date of a product, so that you can compare, for example, the sales development of products not by calendar year, but by the year after the release date?

 

Thanks in advance for your help.

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @n_braun 

 

As an example, your product was released on June 1.

Column:

Start Of Year = 
VAR _eoy = IF(MONTH([Date])<=5,YEAR([Date])-1,YEAR([Date]))
Return
DATE(_eoy,6,1)
Fiscal year = YEAR([Start Of Year])

vzhangti_0-1642388314524.pngvzhangti_1-1642388348034.png

Is this the result you expect?

 

Best Regards,

Charlotte Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @n_braun 

 

As an example, your product was released on June 1.

Column:

Start Of Year = 
VAR _eoy = IF(MONTH([Date])<=5,YEAR([Date])-1,YEAR([Date]))
Return
DATE(_eoy,6,1)
Fiscal year = YEAR([Start Of Year])

vzhangti_0-1642388314524.pngvzhangti_1-1642388348034.png

Is this the result you expect?

 

Best Regards,

Charlotte Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@n_braun ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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