Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

make table unaffected by slicer except one column

Hi all,

 

is it possible to have a table (execpt one column ) completely unaffected by the slicers on a page?

 

I have a table with two columns 1.a list of products 2. the sales for those products. 

 

I want to add a third column called 'sales for selected period' 

 

I want the list of products and the sales columns to remain unaffected when I use a date slicer but I want the sales for selected period column to change.

 

is this possible?

11 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      amitchandak right, but I still have a column in the table I want to change when I use the date slicer

  • Greg_Deckler's avatar
    Greg_Deckler
    Icon for Community Champion rankCommunity Champion

    Anonymous - Yes, don't have your slicer connected to your visual. (Edit Interactions) Create a measure for the one value in your visual that grabs the value(s) in the slicer and returns a result accordingly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      got it, wow i dont know how i missed that . thank you

    • Anonymous's avatar
      Anonymous
      Not applicable

      Greg_Deckler  I am using a relative date slicer, what would be the best approach to create the meaure? If has one value?

       

      thank you!

      • Greg_Deckler's avatar
        Greg_Deckler
        Icon for Community Champion rankCommunity Champion

        Anonymous - It's really hard to say. You should be able to do something like:

         

        Measure = 

          VAR __SlicerValues = 'SlicerTable'[SlicerColumn]

        RETURN

         ...

         

        Once you have the values, you can get the min or max of those and filter by these min's and max's or you might use IN operator. Hard to say without knowing your data and what you are trying to calculate.