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
ElenaCHR
New Member

Convert Excel Formula to DAX - Rolling Attrition

Hi Everyone, 

I am struggling trying to Convert the following formula to DAX measure. I have no clue how to do it. 

Column R = Available FTE, but just I need the orange highlighted cell.

Incremental = Actual FTE - Actual FTE Previous Week

 

ElenaCHR_3-1656614646318.png

 

Any help please?

 

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@ElenaCHR , Power bi can not use the last row running column in the calculation ( I can not say the new value of the last row, last row value is what, when I begun). So these need to be framed using original values.

 

example inventory, cumulative has been used

 

Inventory / OnHand
[Intial Inventory] + CALCULATE(SUM(Table[Ordered]),filter(date,date[date] <=maxx(date,date[date]))) - CALCULATE(SUM(Table[Sold]),filter(date,date[date] <=maxx(date,date[date])))

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

@amitchandak thanks for confirming my suspicion. I didn't want to believe it.

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! Prices go up Feb. 11th.

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.