Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi guys,
I have a table as shown below and I have to calculate outstanding loan amount over time (date format - mm/dd/yyyy)
For eg. in this case from 8/2/2022 till 9/2/2022 outstanding amout will be $100, on 9/3/2022 the out standing amount will become $250 on 9/6/2022 it will be $300 and accordingy it will reduce to $200 on 9/25/2022(amount recovered) and to $150 on 10/2/2022.
Null recovery date represents that this amount is outstanding as of TODAY().
I want to represent this on a column chart with days->months->year heirrarchy on x-axis and outstanding amount on y-axis.
Can someone please help me out in this issue?
Regards,
Ishan
Solved! Go to Solution.
Hi Hoang,
Thanks for your response, but I found another way to get this calculation done
Hi, assume you have a Date column to choose period make calculate
NPA loan =
var sum =SUM([Outstanding amount])
var maxdate = MAX([date column])
var NPA = CALCULATE (sum,[NPA date]<=maxdate)
var Recovery = CALCULATE (sum,[Recovery date]<=maxdate,[Recovery date] <>Blank())
return NPA +Recovery
Hi Hoang,
Thanks for your response, but I found another way to get this calculation done
User | Count |
---|---|
141 | |
113 | |
104 | |
78 | |
64 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |