Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
How to get "Y to y growth" Colum individual growth percentage
Please anyone help me
Solved! Go to Solution.
Hi @Lakshmi20 ,
Based on my research, I think [total sales] is a measure.
Here's my solution.
Sample data is as follows.
[total sales] is a measure as
total sales = SUM('Table'[sales])
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))
Then the [y to y growth] is
y to y growth = DIVIDE([total sales]-[previous sales],[previous sales])
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.
Hi @Lakshmi20 ,
Based on my research, I think [total sales] is a measure.
Here's my solution.
Sample data is as follows.
[total sales] is a measure as
total sales = SUM('Table'[sales])
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))
Then the [y to y growth] is
y to y growth = DIVIDE([total sales]-[previous sales],[previous sales])
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.
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
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |