Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Column header as slicer

I'm sure this is elementary but I'm stumped. My data is set up with headers like this:

Store Nbr, City, State Sales, LW Sales, LW YAGO, L4W Sales, L4W YAGO, etc.

but need to vizualize it in 3 buckets:

Last Week, Last 4 Weeks and Last 13 Weeks. The idea is to have that slicer and then show the percent change for dollars and units without having to show the whole table. Can someone point me in the right direction?

5 Replies

  • v-lionel-msft's avatar
    v-lionel-msft
    Community Support

    Hi Anonymous ,

     

    Do you want something like this?

    //column
    LW/L4W = (P2[ L4W Sales] - P2[ LW Sales]) / P2[ LW Sales] 

    Here is my original data table:

     

    If not, maybe you can tell me that what do you want to calculate ?

    And which column do you want to filter in a slicer ?
    And where is your ‘L13W Sales’ ?

    And What does ‘LW YAGO’ mean?

     

    Best regards,

    Lionel Chen

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Should have made this more clear. The goal is to vizualize LW, L4W and L13W sales vs the same period last year. I can calculate the percentage change but am having no luck with setting up a slicer with LW, L4W and L13W. The data is set up with columns LW, LW Year Ago, L4W, L4W Year Ago, L13W and L13W Year Ago.