Reputation: 317
I have a data table which has a column ID mapped with another column PID. I have another datatable which contains detail data for respective ID's.I want to add a column PID to my second table according to its respective ID's using the first table. My main purpose is to implement a dropdown using the PID column and limit the data in the datatable visualization of the second table.
Upvotes: 1
Views: 736
Reputation: 1770
@Saumya- This can be implemented without using iron python script.
Spotfire lookup a value from a calculated column
Now, create a drop down property control which is linked to your PID column so that it has unique values from that column.
After you have created this drop down in text area, go to data table
properties. In Data > Limit data using expression
section add the
below expression.
"${propertyname}"=[PID]
Based on the drop-down selection, your table gets filtered.
Hope this helps!
Upvotes: 2