Joost Mulder Posted August 26, 2019 Share Posted August 26, 2019 How do I filter a visualisation on a date input The Column DT and the property fromDate are of type Date. This expression gives an error: if([DT] > ${fromDate},true,false) This expression does not give an error, but selects all dates and thus is not working correctly: if(Date([DT]) > Date(${fromDate}),true,false) How can I limit the data using a date input property Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted August 26, 2019 Share Posted August 26, 2019 First, confirm that you set up the property control with a datatype of 'Date' and not Sting or some other type. Next, try replacing: ${fromDate} with: DocumentProperty("fromDate") Link to comment Share on other sites More sharing options...
Joost Mulder Posted August 27, 2019 Author Share Posted August 27, 2019 Thanks KirstenS, DocumentProperty("fromDate") does the trick! :D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now