Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Column Chart Filter On 2 Fields

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:

AssetCORPTVLOB APPLOB1LOB2
A11CORP, TVCORPTV
B10CORPCORP 

 

Table 2:

LOBCount
CORP2
TV1

 

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.

  • 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.

     

2 Replies

  • olgad's avatar
    olgad
    Resident Rockstar

    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.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      This works wonderfully - thank you!! 

       

      I was going crazy on how to get this to work, appreciate it so much!