Forum Discussion
INITIALIZE EACH YEAR
Hello good afternoon, I am having trouble solving this formula:
I have a column that is AMOUNT PAID, and I need to calculate the remainder that is left each year.
I also have to take into account if it is an AID or SCHOLARSHIP, since each year I start with 100.000€ each.
To calculate the remainder for SCHOLARSHIPS for example, it would have to be calculated this 2022 as 100,000- AMOUNT PAID in that year (2022), and when moving to the next year (2023) it has to be again 100,000- AMOUNT PAID in that year (2023).
does anyone know how I can calculate this?
afrutos , We can have crossjoin with a year table , assume you have fund table
crossjoin(generateseries(2022, year(today()) , 1) , fund)
2 Replies
- amitchandak
Super User
afrutos , We can have crossjoin with a year table , assume you have fund table
crossjoin(generateseries(2022, year(today()) , 1) , fund)
- afrutos
Resolver I
I have my calendar table but I don't understand what do you mean
Could you explain a little bit more or give me an example please?