r/PowerBI•
davelaws

Building a Depreciation Table in BI

Question

I have the asset name, total cost, the implementation date, total months it needs to be depreciated. How can I build a table that gives me the monthly depreciation for all months of all of the assets?

Posted Oct 30, 2019, 9:06 PM UTC

35
sammyismybaby•

I feel like power bi isn't the right tool for this. This is more commonly created in Excel. Once you have a depreciation table created then you put it into pbi to perform whatever analysis or visual you need to do or combine with other tables.

2
Mrthicc90•

Not true.

You can do this on power bi using a measure and have input in the fax formula in order to manipulate and obtain verious analysis(not sure personality what manipulations you will want to do with depreciation, but it is possible, maybe some ifrs16 stuff).

That's where power bi shines.

I would suggest creating it as a table inside a variable in a measure, then add different parameters you want to manipulate the measure with.

5
pAul2437•

Any resources on how to do this?

1
Mrthicc90•

Forget about a variable table I mentioned earlier.

Depreciation= Asset cost - number of months between current date and asset start operation date x monthly deprotection amount.

Something along the those line.

3
chubs66•

I'll try to think out loud. Probably won't get this quite right but may get you close

  1. Google "generate Date dimension in m query power BI"
  2. Reference that query to make a copy of the date dim. filter this data set where day of month = 1.
  3. join your month table to your date dim.
  4. join your asset table to your date dim (on date)
  5. Create a dax measure that calculates the depreciation value (example)
  6. add a chart with assets on rows, months on colums, DAX measure as values
2