As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
An option is to have 4 slicers : one for each choices and then show/hide the proper one according to selection made.
Another option (which seems to be the best one) is to have the slicer linked (parameterized) to the choices list and have a dynamic fex to fill its value based on the received parameter.
But as for be able to select a from/to period I don't think that it's possible from a single slicer. You may need to have two slicers : one for the "from" value and a second for the "to".
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
You could certainly create the basics for those controls using HTML Composer; you'd need 2 hidden fields for start and end dates and a control that contains something like the valid values in the selected granularity (quarters, months, days, etc). Add some Javascript and CSS and, in theory at least, it should be possible to create such a control.
What I'm missing in the example image though is how they determine the range where the control starts and ends. I guess there's some fuzzy logic behind it all that also determines that "Days" is not a useful option to show for a range of 10 years and "Years" is not a useful option for a range of just a couple of days.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :