powered by
Generates a list of two elements, first and last month of the full years range, both with the same value specified.
first_last(years, value)
A list with two elements named after the first and last month of the years' range in YYYY.MM format.
years
YYYY.MM
Integer vector, at least two elements, the range of years to cover.
The transaction amount that is assumed to remain unchanged over all years.
You can use this in combination with the .list argument of expense, revenue, and transaction.
.list
expense
revenue
transaction
expense( type="Operation", category="Bank", name="Accounting", missing="rep", .list=first_last(2022:2025, value=20) )
Run the code above in your browser using DataLab