Peter Finseth 2 Posted April 28, 2017 Share Posted April 28, 2017 How do you create a drop down list property control to default to the most recent month in the column The column essentially has every month end for 2 years. Need the drop down to automatically use the most recent date, but then have the other dates in descending order after it. Thanks! Link to comment Share on other sites More sharing options...
Sushank Goel Posted May 2, 2017 Share Posted May 2, 2017 Create calculated column :Month(Max([datecolumn])) Now create a Integer document property control and select "Unique values in column" and select the created column. Link to comment Share on other sites More sharing options...
John Justus 2 Posted May 2, 2017 Share Posted May 2, 2017 If you see the sushank screenshot, there is an scripting functionality for that property. You can achieve whatever your requirement might be using the scripting functionality. Link to comment Share on other sites More sharing options...
Peter Finseth 2 Posted July 21, 2017 Author Share Posted July 21, 2017 Correct. Want the default date to populate as Max Date but then have all other dates in descending order from there. So as of today, July 2017, it would default to most recent month end 6/30/17 then 5/31/17, 4/30/17, 3/31/17, and so on. Link to comment Share on other sites More sharing options...
adam bronze Posted July 21, 2017 Share Posted July 21, 2017 susshank...it seems that will show max month as the default...but i believe pdfinseth's requirement is to have the drop down show the other months too. i ask because i have the same requirement. e.g., the visualization opens up to the current/max month on the drop down, but the user should have the options to choose earlier months. thanks Link to comment Share on other sites More sharing options...
Giovanni De Ciantis Posted September 7, 2020 Share Posted September 7, 2020 I've managed to do something similar creating a new information link to output the dates in a new data table. Then added the dropdown list property control using the new column of dates from the previous IL. 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