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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
jamiesonc
New Member

Monthly Growth

Hi all,

 

I'm trying to display year-on-year growth for a dataset that has monthly data as below

jamiesonc_0-1620619098587.png

My goal is to display the data like this: 

jamiesonc_1-1620619203219.png

Where the top chart is the monthly FYP for the current year, and the bottom chart is that number divided by FYP of the previous year. The problem is i can't figure out how to make the year dynamic. here is my growth formula for the bottom chart at present:

Growth New = divide(calculate('Dataset'[FYP1],filter('Dataset','Dataset'[Year]=2021))/calculate('Dataset'[FYP1],filter('Dataset','Dataset'[Year]=2020)),1)-1
Which is awkward and has to be changed every year. Is there a combination of formula and visual/page filter that will let me do this?
Thanks!
 

 

 

 

 

1 ACCEPTED SOLUTION
HotChilli
Community Champion
Community Champion

TODAY() will give you a date.  YEAR(TODAY()) will give the current year.  Is that what you want?

View solution in original post

2 REPLIES 2
HotChilli
Community Champion
Community Champion

TODAY() will give you a date.  YEAR(TODAY()) will give the current year.  Is that what you want?

Thanks, i think the full question is too lengthy for a forum! this will work for now 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.