Forum Discussion
Trying2Excel
1 year agoHelper I
YoY Growth % Formula
I need help with creating a YoY growth rate for the table below. Below I have also provide my YTD reduction formula.
YTD Total Complete Reductions =
VAR _currentYear =
YEAR ( MAX ( 'Historical Reductions Table'[End of Month] ) )
VAR _currentMonth =
MONTH ( MAX ( 'Historical Reductions Table'[End of Month] ) )
RETURN
IF (
ISINSCOPE ( 'Historical Reductions Table'[End of Month].[Year]),
CALCULATE (
SUM ( 'Historical Reductions Table'[Reduction2] ),
FILTER (
ALLSELECTED ('Historical Reductions Table'),
YEAR ( 'Historical Reductions Table'[End of Month]) = _currentYear
&& MONTH ( 'Historical Reductions Table'[End of Month] ) <= _currentMonth
)
),
CALCULATE (
SUM ( 'Historical Reductions Table'[Reduction2] ),
FILTER (
ALLSELECTED ('Historical Reductions Table' ),
MONTH ( 'Historical Reductions Table'[Date] ) <= _currentMonth
)
)
)
Anonymous, are you able to help this one as well?
2 Replies
- AnonymousNot applicable
Hello @Trying2Excel
Please post you question to the Power BI forums: https://community.fabric.microsoft.com/t5/Power-BI-forums/ct-p/powerbi
Thank you,
Eileen
Fabric Community Manager
- Trying2ExcelHelper I
Will do, thanks!