cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SiroPW
Helper I
Helper I

Filter for display only - not for interactions with other visuals

I have something which feels simple but I can't get to work how I need.

 

My data is as follows (simplified);

as_at_dateorganisationvalue
31/01/2020AAA10
31/01/2020ZZZ400
30/03/2020AAA20
30/03/2020ZZZ500
30/06/2020AAA30
30/06/2020ZZZ600

 

dates, orgs and a value.

 

In visual #1 I'm plotting a line chat of axis = 'as_at_date' and values = sum 'value'.

Essentially plotting:

as_at_datevalue
31/01/2020410
30/03/2020520
30/06/2020630

No problem there.

 

Visual #2 is a matrix. rows = 'organisation' and values = sum 'value'.

Plotting:

organisationvalue
AAA60
ZZZ1500

Again no problem.

 

I'd actually like visual #2 to only show the latest as_at_date.

That's easy enough to apply a visual level filter for as_at_date to make that happen.

 

HOWEVER.

I would also like to be able to click on an organisation AAA or ZZZ in visual two and have visual one (the line chart) filter for AAA but NOT for the latest as_at_date too.

 

Does that make sense?

 

Right now if I click the matrix, it will apply both the organisation and as_at_date filters but I only want the organisation I've selected to filter but still show all dates.

 

Thanks for any help.

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @SiroPW ,

 

The PBIX file is here for you to see if it is what you want.

 

Please kindly refer to, which tells you to use Visual interactions to change how visualizations on a report page impact each other.

 

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

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @SiroPW ,

 

The PBIX file is here for you to see if it is what you want.

 

Please kindly refer to, which tells you to use Visual interactions to change how visualizations on a report page impact each other.

 

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

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

mahoneypat
Super User IV
Super User IV

Instead of adding a filter to Visual 2, use a measure instead to get the result you want.  In your case, the LASTNONBLANKVALUE() function should do that.

 

Last Value = LASTNONBLANKVALUE(Table1[Date], MAX(Table2[Value])) // replace Table1 and Table2 with your actual table names

 

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors