Manoj Chaurasia Posted September 5, 2013 Share Posted September 5, 2013 I have 2 Dropdowns(in text area) - Product category and Products. Requirement is once user have selected a value in Product category dropdown then product dropdown should only show products for that category. Is this possible in Spotfire. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted September 5, 2013 Author Share Posted September 5, 2013 Hey Ankur, What you could do is create drop down list property control in a text box. You can then set the that property control's "set property value through" as a "Column Selection." in essence you are just creating a drop down list for that column as a filter. You can do the same for the Products column as well by creating a drop down list or you could make that one a list box. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted September 5, 2013 Author Share Posted September 5, 2013 I think I did not understant it correctly. You are saying create a dropdown "Column Selection." But will give list of columns in the datatable. But I want list of values in dropdown. How will that help Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted September 6, 2013 Author Share Posted September 6, 2013 Thanks Ankit. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted October 23, 2015 Author Share Posted October 23, 2015 In this case both product andproduct category are coming from same table. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted October 23, 2015 Author Share Posted October 23, 2015 Hi Ankur, It is very much possible. We have implemented the below solution for it Suppose you have two dropdowns each for columns A and B and you want the values B to be depnedent on A. You should take the following steps to achieve this result - Create a property control by setting first Dropdown with Unique values of column A. Name of this property as Driver (any name you want to give) - Create a calculated column Var_B = if("${Driver}"=([A]), , Null) - Create a Propert control with unique values of Var_B This should help you achieve the desired results. Please let me know in case you need any clearification. Thanks,Ankit Link to comment Share on other sites More sharing options...
Olimpia Onelli Posted June 14, 2019 Share Posted June 14, 2019 Hi there - I've used this tutorial to achieve a similar goal: https://spotfired.blogspot.com/2014/05/cascading-dropdowns.html 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