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.
I have something which feels simple but I can't get to work how I need.
My data is as follows (simplified);
as_at_date | organisation | value |
31/01/2020 | AAA | 10 |
31/01/2020 | ZZZ | 400 |
30/03/2020 | AAA | 20 |
30/03/2020 | ZZZ | 500 |
30/06/2020 | AAA | 30 |
30/06/2020 | ZZZ | 600 |
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_date | value |
31/01/2020 | 410 |
30/03/2020 | 520 |
30/06/2020 | 630 |
No problem there.
Visual #2 is a matrix. rows = 'organisation' and values = sum 'value'.
Plotting:
organisation | value |
AAA | 60 |
ZZZ | 1500 |
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.
Solved! Go to Solution.
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.
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.
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
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
99 | |
76 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |