Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Use Visual as a Filter for another visual

Hello,

I have this visual on the top of a page, and I would like to filter a news feed (on the bottom of the page), when you press the YYYYMM (circled in Red).  How would I go about that?  Thanks.

 

  • VasTg's avatar
    VasTg
    6 years ago

    Anonymous 

     

    Do you have the filter direction defined correctly?

     

    It should be either of these

    1. GraphTable->Datetable->newsfeed 

    2. If Datetable is a dimension(ideally it should) then the arrows should be Datetable->Graphtable and Datetable->Newsfeed. Then your graph Yearmth should be from Datetable.

    3. All the filter direction should be bidirectional if it is not giving circular reference error.

     

    For you to slice from the graph with relationship defined as Graphtbl->datetbl and Newsfeed->Datetbl as you mentioned, make the filter direction as bidirection(Approach 3). If you get circular reference error(i don't know what other tables you have), follow approach 2.

     

    If this helps, mark it as a solution

    Kudos are nice too

4 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks.

      I did try adjusting the interacation, and they were already turned on.  

      I'm thinking now it might be the way the tables are linked.  

      When I select one of the YearMth from the graph ,it doesn't Filter the news feed, even though the two tables that populate each visual are linked to a mutual "Date" table like this:

      Relationships:

      From: Table(Column)To: Table(Column)
      GraphTbl(YearMth) DateTbl(YearMth)
      NewsFeed(YearMth)DateTbl(YearMth)

       

      Shouldn't this type of relationship allow them to filter each other?  Or do they have to be directly linked, which I can't do, because it would be a many-to-many relationship.

      • VasTg's avatar
        VasTg
        Memorable Member

        Anonymous 

         

        Do you have the filter direction defined correctly?

         

        It should be either of these

        1. GraphTable->Datetable->newsfeed 

        2. If Datetable is a dimension(ideally it should) then the arrows should be Datetable->Graphtable and Datetable->Newsfeed. Then your graph Yearmth should be from Datetable.

        3. All the filter direction should be bidirectional if it is not giving circular reference error.

         

        For you to slice from the graph with relationship defined as Graphtbl->datetbl and Newsfeed->Datetbl as you mentioned, make the filter direction as bidirection(Approach 3). If you get circular reference error(i don't know what other tables you have), follow approach 2.

         

        If this helps, mark it as a solution

        Kudos are nice too