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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.