Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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.

mahoneypat
Employee
Employee

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors