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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Problem with Recursive Measure Calculation in Power BI

Guys,

I have the following problem.

 

I want to create a measure which calculates recursively the Value in "Stock calc" for future Monthes.

 

I just want to use the recursion formula:

ranking.png

 

 

 

 

Means, the measure should start by "2019 10".

 

STOCK.calc(2019 10) = STOCK (2019 10) + ExF(2019 10) - MS(2019 10)

STOCK.calc(2019 10) = 3649583.44 + 1408216.97 - 1521481.47

STOCK.calc(2019 10) = 3536319.95

 

For "2019 11":

 

STOCK.calc(2019 11) = STOCK.calc(2019 10) + ExF(2019 11) - MS(2019 11)

STOCK.calc(2019 11) = 3536319.95 +1636859.23 - 1400293.85

 

etc.

 

Can anyone help me please to solve this problem using DAX in Power BI?

1 REPLY 1
v-jayw-msft
Community Support
Community Support

Hi @Anonymous ,

 

In my opinion, these two measures have interdependence with each other, which is not supported in Power BI.

You can do it in Excel.

 

Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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