I want to use an input box in a view so users can filter a specific table using a runtime variable. When using the input box and setting it to type date, the output is something like 1694728800000. This is saved in a runtime variable, which I am using in a filter for that specific table. However, I couldn't find a way to make the formular work.
Example formular: FILTER EKPO.AEDAT = ${{runtime_variable}}
where ${{runtime_variable}} is 1694728800000.
Maybe someone can help out with the correct conversion to make use of the date from the input box.
Best regards
Aram
Best answer by abhishek.chatu14
What you are missing is {t 1694728800000}, refer to the following for more details
Any idea how I could now show the selected date as a headline in a view?
TO_STRING( {t ${{runtime_variable}} }, FORMAT ( '%d.%m.%Y ' ) )
I tried this in a variable in the KM but got an error when referencing that variable in the view. And for a variable in the view itself I just get the plain text without the proper calculation.