Forum Discussion
Matrix visual with a hierarchy should filter a pie chart visual with the same matrix
Hello everyone, I have the following problem:
I have a matrix visual with a hierarchy and a pie chart with the same hierarchy. I want to achieve, that if I am selecting a Level/Value in the hierarchy, that I can see in the pie chart the selected Level of the hierarchy +1.
The matrix looks like following:
| Level1 | Level2 | Level3 |
| A1 | ||
| B1 | ||
| C1 | ||
| C6 | ||
| B2 | ||
| C2 | ||
| C7 | ||
| B3 | ||
| C3 | ||
| C8 | ||
| A2 | ||
| B4 | ||
| C4 | ||
| C9 | ||
| B5 | ||
| C5 | ||
| C10 |
The visuals look like the following:
This is how it should look like:
I know that it works with the "Go to the next level in the hierarchy (button)" but this is not a good user experience and some of the users will not understand how it works correctly. That’s why I want to automate the Level selection.
My idea was to write a Measure that gives you the selected Value. With the following Measure I am able to get that.
Therefore my idea was to write a measure which is just showing the selected Level +1 in the visual. But unfortunately I am not able to write a measure that gives me just the number of the selected hierarchy Level.
I hope somone can help me out.
Here is the link to the sample file
PeterSch Hey , You can try this . Select viz and then scroll down till row header then select stepped layout then edit the intraction to filter in pie chart . Fig : Sample file
Hope this will help .
2 Replies
- v-cazheng-msft
Community Support
Hi PeterSch
Unfortunately, Measures can't be added into Legend of Pie chart.
Best Regards
Caiyun Zheng