Forum Discussion
Anonymous
9 years agoNot applicable
Multiply rows
Hi everybody! I'm in the process of calculating a YTD Inflation. For this, I have a table of Inflation with Country, Month, GrowthPercentage. The calculation for this is: For the months of the s...
- 9 years ago
Hi Anonymous
If I understand you correctly I think the PRODUCT fucntion may probably work. If you are happy with the essence of the function, it can be extended to work with your data.
Result = VAR IndexColumn = Table3[Index] RETURN CALCULATE( PRODUCT( 'Table3'[Rate] ), FILTER( 'Table3', 'Table3'[Index]<=IndexColumn ) )
Phil_Seamark
9 years agoMicrosoft Employee
Hi Anonymous
If I understand you correctly I think the PRODUCT fucntion may probably work. If you are happy with the essence of the function, it can be extended to work with your data.
Result =
VAR IndexColumn = Table3[Index]
RETURN CALCULATE(
PRODUCT(
'Table3'[Rate]
),
FILTER(
'Table3',
'Table3'[Index]<=IndexColumn )
)
Anonymous
9 years agoNot applicable
So many thanks Phil_Seamark!
That was exactly what I been looking for. I perfectly performed what I needed.
Have a great day!