Forum Discussion

javiernavarro's avatar
javiernavarro
New Member
7 years ago
Solved

Filters between visualizations

Hello everyone,

 

I have two differents visualizations. In one of them (table) I have this column

 

STORES

Store1

Store2

Store3

Store4

 

In the other visualization (bar chart) i have the sales from last year for these 4 stores

 

I want the bar chart to display all the other stores but the selected one on the first visualization.

Example: Is I select "Store2" in the first table, I would be able to see information in the bar chart only for Store1, Store3 and Store4.

 

Is it possible?

Thank you!

  • Hi javiernavarro 

     

    You may create a slicer table and use it as slicer.Then create a measure like below.Attached the sample file for reference.

    Sales 2018 =
    CALCULATE (
        SUM ( Table1[Sales] ),
        FILTER (
            Table1,
            Table1[Year] = 2018
                && Table1[Store Branch] <> SELECTEDVALUE ( 'Table'[Store Branch] )
        )
    )

    Regards,

    Cherie

     

     

     

3 Replies

    • javiernavarro's avatar
      javiernavarro
      New Member

      Thanks Livio

       

      • This is the two tables Im working with

       

      • I have made a bar chart using the second one. Right now if I select Store4 in the first one, the Store4 row gets highlighted in the second visualization (as shown below).

      I want the bar chart to highlight the other rows, not the selected one.

       

      Thanks again

  • v-cherch-msft's avatar
    v-cherch-msft
    Microsoft Employee

    Hi javiernavarro 

     

    You may create a slicer table and use it as slicer.Then create a measure like below.Attached the sample file for reference.

    Sales 2018 =
    CALCULATE (
        SUM ( Table1[Sales] ),
        FILTER (
            Table1,
            Table1[Year] = 2018
                && Table1[Store Branch] <> SELECTEDVALUE ( 'Table'[Store Branch] )
        )
    )

    Regards,

    Cherie