Cannot use date_to or date_from in expression? #528
Unanswered
erick-tejada
asked this question in
Q&A
Replies: 1 comment
-
This is not supported and should not be necessary as the date filters are implicit. Year to date support is being worked on and is tracked in #165. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am writing expressions such as this:
bal[4%][('date', '<', date_from)]
bal[4%][('date', '>=', date_to)]
bal[4%][('date', '<', '%s-01-01' % date_from.year)]
But I always get a Not Defined error:
Am I using date_to/date_from wrong or Am I missing something? I have tried this is versions 9.0 and12.0.
Beta Was this translation helpful? Give feedback.
All reactions