Forum Discussion

Lauren2324's avatar
Lauren2324
Copper Contributor
Jan 31, 2024
Solved

Opposite of consolidation...

I have a workbook containing data for scheduling referees over a multi-day tournament on multiple fields.

Referee names appear under 2 columns; Umpire 1 or Umpire 2

Game assignments change every hour.

I need to print individual schedules for each referee (121 in this tournament) with the data for these headers:

Day, Time, Field, Umpire 1, Umpire 2

 

Please help! 

 

Thanks, Lauren

  • Lauren2324 

    I think the feature 'show report filter pages' can make quick work of this task but there must be some legwork done first.

     

    I'm guessing your data looks something like this:

     

    Step 1: Unpivot the Ump1 and Ump2 columns:

    Here's how to unpivot in PowerQuery:

    Unpivot columns (Power Query) - Microsoft Support

    You'll also need to duplicate a column:

    Duplicate a column (Power query) - Microsoft Support

     

    The goal is to get the data to look like this:

     

    Step 2: Create a simple pivot table that will look like this (You can turn off all subtotals and date/time groupings):

    the pivot arrangement (notice the dupe column "Copy of Value" in the filter):

    Step 3: Generate the report filter pages

    The sheets in the workbook after doing this:

     

     

     

     

4 Replies

  • Patrick2788's avatar
    Patrick2788
    Silver Contributor

    Lauren2324 

    I think the feature 'show report filter pages' can make quick work of this task but there must be some legwork done first.

     

    I'm guessing your data looks something like this:

     

    Step 1: Unpivot the Ump1 and Ump2 columns:

    Here's how to unpivot in PowerQuery:

    Unpivot columns (Power Query) - Microsoft Support

    You'll also need to duplicate a column:

    Duplicate a column (Power query) - Microsoft Support

     

    The goal is to get the data to look like this:

     

    Step 2: Create a simple pivot table that will look like this (You can turn off all subtotals and date/time groupings):

    the pivot arrangement (notice the dupe column "Copy of Value" in the filter):

    Step 3: Generate the report filter pages

    The sheets in the workbook after doing this:

     

     

     

     

  • SarahILE's avatar
    SarahILE
    Copper Contributor
    You could sort the columns showing each name in alphabetical order