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
seanpratt
Helper III
Helper III

Calculating Depreciation in DAX

I'm having a rough time doing something fairly simple, or at least I'd think it was simple. 

I simply need to see the value of products reduce monthly in a pivot table. I want to see that value reduce until it hits 0. I have different products and product families that I want as my rows on a pivot table and the dates as the columns but I can't seem to figure this out for whatever reason.

 

Can someone provide some general DAX help for this? My depreciation is linear and essentially based on "Value - (Residual Value/Lifespan)

 

Let me know if more information is needed. I feel dumb asking this as it should be a simple fix.

 

7 REPLIES 7
seanpratt
Helper III
Helper III

Thanks so much to all who checked in. I actually solved the answer by scouring the internet. Turns out it was turning those basic tables into a fleshed out table through PowerQuery and then it was pretty quick with a couple of DAX formulas after.

 

This wasn't the exact situation but the same logic applies. Leaving this link here in case anyone ever needs it!

 

https://forum.enterprisedna.co/t/create-amortization-table/2404

Hi,

The link can not be openned.

Could you pls. share some details on the logic and dax formula?

Thanks.

fhill
Resident Rockstar
Resident Rockstar

Is this what you had in mind?   If so, i'll add more details, I took a table of Description, Start Month, & # of Month to LIST all months per Item, and calculate the remaining value each month until them item zeros out.  

 

image.png




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




Anonymous
Not applicable

Hello, I would like to see your solution if possible? I have the same issue, but also trying to figure out one more problem on top of the depriciation, which is how much is the depreciation in the last year before going to 0.

 

Kind regards,
Vlad

Anonymous
Not applicable

Are you able to share your table? Does your table contain the depreciation amount, or are you hoping for the DAX to calculate it for you?

Annotation 2020-02-04 081847.png

 

Here it is. Setting the depreciation value as standard value - ((1-resid.)/(useful)

 

I've been then using the depreciation value and dividing by 12 months to get a monthly total but not sure if I should be doing that.

seanpratt
Helper III
Helper III

Bump.

Any help on this, please? Been trying variations all day. I basically just need to show a repeating deprecation value between (Start Date) and (End Date).

Please help

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.