Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

How to develop a table that highlights all items in common

Hello BI community,

 

Does anyone know how to develop a table that highlights all items in common?

 

Example:

We have a dataset:

Column1Column2
1a
1b
1c
2a
2b
2d
3a
3e
3f

If we select 1 ,2, 3 on the slicer we should get:

a
b
c
d
e
f

So that we get all the items and "a" is highlited

or

If we select 1 ,2 on the slicer we should get:

a
b
c
d
 
 

So that we get all the items and "a" and "b" are highlited

 

I manged to do it, but instead of highlighting it displays the highlighted items in a separate table and the user is required to select the slicer twice. Example: slicer1: (123), slicer2: (1), slicer3: (2), slicer4: (3):

 

Please respond if you know how to implement in a more user-friendly way. Using hierichy tree instead of the table would be even better

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Thank you so much for your solution. It helped a lot! But do you know if it is possible to do the same with the hierichy tree, so that it converges at the items in common.

    Example:

    Instead of this:

     

    We need this:

    • lbendlin's avatar
      lbendlin
      Icon for Super User rankSuper User

      I don't understand what you are trying to achieve. Please provide sanitized sample data that fully covers your issue. Please indicate which visual you are using.

      • Anonymous's avatar
        Anonymous
        Not applicable

        The visual I used in the previous reply is:

        Let me demonstrate what I need with the default Power BI Hierarchy Tree:

        We are given this dataset:

        1a
        1b
        1c
        2a
        2b
        2d

        the problem is that the hierarchy tree allows only this kind of visual:

        Do you know if there is some third-party hierarchy tree or a feature of the default one that allows this:

        Thanks!