问题
I have two data tables A & B in a visualization. They can be joined by a common column ID. Is it possible that the data chart from table B be limited by selection from table A?
Best Regards, Jonathan
回答1:
you can create a relationship based on that ID:
- click Edit...Data Table Properties
- click the Relations tab
- click New to create a new relation
- configure the relation by selecting the left and right tables, the column containing the ID on both table, and optionally a method to apply to values in that column
- click OK a few times to accept all changes
...and then configure the Filtering panel to show this relationship:
- open the Filtering Panel by clicking the button on the toolbar or View...Filters
- find the header for your Table B and click the "Filtering" icon next to the expansion arrow (▼)
- select Filtering in Table A ► and tick Include
now when you change filters on Table A, data will be limited in Table B to reflect it. only the currently-selected Filtering Scheme will behave like this; any other schemes will also need to be configured (steps 6-8).
来源:https://stackoverflow.com/questions/28691801/spotfire-6-0-limit-data-by-selection-from-another-table