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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not 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 selected period sum 1 to each growth, multiply all of them, and subtract 1 to the result.

 

Example: 0.03 >> 1.03

1.03*1.12*1.18*1.01 = 1.37

1.37 >> 0.37 >> 37%

 

How can I perform this? Because there is SUM and SUMX function, but here what I need is a MULT funcion or something to multiply. Any ideas?

 

Thanks in advance.

 

1 ACCEPTED SOLUTION
Phil_Seamark
Microsoft Employee
Microsoft 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 )
               )

 

Product.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
Phil_Seamark
Microsoft Employee
Microsoft 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 )
               )

 

Product.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Anonymous
Not applicable

So many thanks @Phil_Seamark!

 

That was exactly what I been looking for. I perfectly performed what I needed.

 

Have a great day!

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.