Forum Discussion
Clustered Column Chart Filtering a Matrix
What I want to do is when I click a certain row in a column chart it filters a matrix to only show the values that are related to it on a matrix.
In the following example I would like the matrix to only show Series Count and Series Elements when I click on the Series Bar chart. As of now when I click on the bar it wil filter by date.
9 Replies
- AnonymousNot applicable
- cmckinneyHelper IV
Anonymous
Thank you for your prompt reply. Unfortunately the video was unable to help me get my desired results. I had also tired editing the interactions before posting this thread. Do you know of any other possible solutions?
- AnonymousNot applicable
HI cmckinney
Can you click on the bar chat and paste a screenshot of how the interactions look like on the matrix.
The interaction should be when left chart is selcted as below.
- v-kelly-msftCommunity Support
Hi cmckinney ,
Check the below method:
https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/
If it doesnt help,could you pls upload your .pbix file to onedrive business and share the link with us?Better attach your expected output.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!- cmckinneyHelper IV
Here I have attached a mock up file. What needs to happen is when a bar is selected on the bar chart the matrix filters only series columns. It is currently showing both series and model options. When you click the bar on the bar chart it filters by date.
Here is a link to the report: https://www.dropbox.com/s/cvwxrr00pmn0hwq/Series%20Select.pbix?dl=0
- v-kelly-msftCommunity Support
Hi cmckinney ,
First create a date-dimension table:
Table = VALUES(Test[Date])Then create 2 measures as below:
_Category = CALCULATE(MAX('Test'[Category Element]),FILTER(ALL('Test'),'Test'[Date]=MAX('Table'[Date])))_Series = var _date=CALCULATE(MAX('Table'[Date]),FILTER('Table','Table'[Date]=SELECTEDVALUE(Test[Date]))) Return IF(SELECTEDVALUE(Test[Date])<>BLANK(),CALCULATE(MAX('Test'[Series Elements]),'Test'[Date]=_date))And you will see:
For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!