Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Use a slicer only filter one specific column

Hi, 

 

How do I use a slicer in which it only filters me a specific column? For example have the "study version filter" filter the column of the "Actual" value and have the "reference version" filter the value of the comparison. 

Here's an example:

 

Best regards

 

  • Anonymous's avatar
    Anonymous
    7 years ago

    Anonymous & Anonymous

     

    The solution; 

    Create two tables: One table with Study Version and other table with Reference version. 

    After use this measure [example]:

    Measure= SWITCH(SELECTEDVALUE('Scenario'[Study Version]), "Actual", CALCULATE(SUM(FactFinance[STU])), "Actual LY", CALCULATE(SUM(FactFinance[STU]............

    Measure= SWITCH(SELECTEDVALUE('Scenario2'[Reference Version]), "Actual", CALCULATE(SUM(FactFinance[REF)), "Actual LY", CALCULATE(SUM(FactFinance[REF]............

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous & Anonymous

     

    The solution; 

    Create two tables: One table with Study Version and other table with Reference version. 

    After use this measure [example]:

    Measure= SWITCH(SELECTEDVALUE('Scenario'[Study Version]), "Actual", CALCULATE(SUM(FactFinance[STU])), "Actual LY", CALCULATE(SUM(FactFinance[STU]............

    Measure= SWITCH(SELECTEDVALUE('Scenario2'[Reference Version]), "Actual", CALCULATE(SUM(FactFinance[REF)), "Actual LY", CALCULATE(SUM(FactFinance[REF]............

  • Anonymous's avatar
    Anonymous
    Not applicable

    Dont know if this a viable solution but can you split out the table into seperate charts/tables/cards and edit the interactions between the filter and the chart? So only that filter, interacts with that specific chart?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Anonymous

       

      You cant filter values just for one column in the visual based on slicer selection. Any contex alteration you can do in the DAX measure. I agree with Anonymous suggestion on this.

       

      Thanks

      Raj