cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Drizityn
Frequent Visitor

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.

 

MktIntGraph.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Super User I
Super User I

Re: Use Visual as a Filter for another visual

@Drizityn 

 

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

View solution in original post

4 REPLIES 4
Super User I
Super User I

Re: Use Visual as a Filter for another visual

@Drizityn 

 

You have to enable the filter option in Edit interactions.

 

Refer to this documentation

 

https://docs.microsoft.com/en-us/power-bi/service-reports-visual-interactions

 

If this helps, mark it as a solution.

Kudos are nice too

Drizityn
Frequent Visitor

Re: Use Visual as a Filter for another visual

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.

Super User I
Super User I

Re: Use Visual as a Filter for another visual

@Drizityn 

 

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

View solution in original post

Drizityn
Frequent Visitor

Re: Use Visual as a Filter for another visual

That worked.  I did #2 and #3 and works perfectly.  Thank you so much.  

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors