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
Lakshmi20
New Member

undefined

How to get "Y to y growth" Colum individual growth percentage

Please anyone help me

IMG_20230423_074741.jpg

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Lakshmi20 ,

 

Based on my research, I think [total sales] is a measure.

Here's my solution.

Sample data is as follows.

vstephenmsft_0-1682389303509.png

[total sales] is a measure as

total sales = SUM('Table'[sales])

vstephenmsft_1-1682389341882.png

Then you can create a measure for returning the previous year's sales.

previous sales = CALCULATE([total sales],FILTER(ALLSELECTED('Table'),YEAR([date])=YEAR(MAX('Table'[date]))-1))

vstephenmsft_2-1682389390684.png

Then the [y to y growth] is

y to y growth = DIVIDE([total sales]-[previous sales],[previous sales])

vstephenmsft_3-1682389457039.png

                                                                                                                                                         

Best Regards,

Stephen Tao

 

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
Anonymous
Not applicable

Hi @Lakshmi20 ,

 

Based on my research, I think [total sales] is a measure.

Here's my solution.

Sample data is as follows.

vstephenmsft_0-1682389303509.png

[total sales] is a measure as

total sales = SUM('Table'[sales])

vstephenmsft_1-1682389341882.png

Then you can create a measure for returning the previous year's sales.

previous sales = CALCULATE([total sales],FILTER(ALLSELECTED('Table'),YEAR([date])=YEAR(MAX('Table'[date]))-1))

vstephenmsft_2-1682389390684.png

Then the [y to y growth] is

y to y growth = DIVIDE([total sales]-[previous sales],[previous sales])

vstephenmsft_3-1682389457039.png

                                                                                                                                                         

Best Regards,

Stephen Tao

 

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

 

 

FreemanZ
Super User
Super User

hi @Lakshmi20 

Info insufficient. Anyway, try like:

YoY% =
VAR salespre =
CALCULATE(
[total sales],
TableName[Year]=MAX(TableName[Year])-1
)
RETURN
DIVIDE([total sales], salespre)-1

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.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.