I have a column chart (using Table 2) that I'm trying to filter a data table (Table 1) based on 2 fields (LOB1 and LOB2).
Table 1:
Asset | CORP | TV | LOB APP | LOB1 | LOB2 |
A | 1 | 1 | CORP, TV | CORP | TV |
B | 1 | 0 | CORP | CORP |
Table 2:
LOB | Count |
CORP | 2 |
TV | 1 |
Table 1 essentially contains my raw data and there are situations where an Asset (such as A) can have more than one LOB. In my graph, I want to be able to click on CORP and Asset A and B would show up. (This is what I currently have). And then, if I click on TV, only Asset A would show up.
I currently have the two tables linked together, just so that I can have the counts created to create a column chart.
And then if I click on CORP in the chart, both Asset A and B will show up on the table - which is great.
But then, I want to click on TV and only have Asset A show up. For the table relationships, I can only figure out a way to just do one active relationship, so it is currently just LOB to LOB1.
And for now, nothing will show for Asset A in the table.
Is there a way to have an override with two active relationships? I know I can also have Asset A appear as 2 rows of data, but I'd like to ideally keep it all as 1 row.
Solved! Go to Solution.
Hi, can you add asset to your Table 2 and create relationship based on the Asset? Crossfilter both: then it functions quite like you want it to.
Hi, can you add asset to your Table 2 and create relationship based on the Asset? Crossfilter both: then it functions quite like you want it to.
This works wonderfully - thank you!!
I was going crazy on how to get this to work, appreciate it so much!
User | Count |
---|---|
124 | |
61 | |
56 | |
47 | |
41 |
User | Count |
---|---|
118 | |
67 | |
63 | |
63 | |
44 |