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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Recursive calculation - Workaround?

Hey guys,

I've been stucked in a problem for a few days and I need help.

I want to create a measure to calculates recursively the price for n current Month.

My formula is the same as below:

PriceN = PriceN(month-1)*Lambda + (1-Lambda)*Price(month-1)

Example:

gdoretto_0-1628800297463.png

 

Can anyone help me please to solve this problem within Power BI?

Thanks in advance

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @Anonymous ,

 

in this blog i describe how table iterators can be used to overcome the lack of recursive capabilities, maybe you will find this useful: Using Table Iterators to calculate a future value - Mincing Data - Gain Insight from Data (minceddata.info)

Hopefully, this helps to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

1 REPLY 1
TomMartens
Super User
Super User

Hey @Anonymous ,

 

in this blog i describe how table iterators can be used to overcome the lack of recursive capabilities, maybe you will find this useful: Using Table Iterators to calculate a future value - Mincing Data - Gain Insight from Data (minceddata.info)

Hopefully, this helps to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors