Forum Discussion

granthworth's avatar
granthworth
Icon for Kudo Kingpin rankKudo Kingpin
10 years ago
Solved

Help with Shift Slicer

Hello,   I am setting up a dashboard/report for a manufacturing company I work for. Currently, I have slicers for Year, Quarter, Month, and Week which work great.   However, I am trying to gain t...
  • itchyeyeballs's avatar
    10 years ago

    I probably wouldn't have a column for each shift, I'd have a single column for all shifts and then a second column to identify the shift_id

     

    Would then just need a measure to sum and a slicer to filter down from overall total to which ever shift you wanted to show.

     

    I would also then have a shifts lookup table which would be linked to shift_id to hold meta data about shift such as name etc. This approach would also future proof the system for when management decide to implement a third shift ;)

     

    If you want to achieve this you can use the "unpivot" function (which is a brilliant feature for normalising datasets) to reduce multiple columns into 1.

  • cwayne758's avatar
    cwayne758
    10 years ago

    Only in reports