Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Load one query into multiple pivot tables

Good morning, I've got a very demanding query on Excel that I need to load as 2 different pivot tables as well as loading the raw table to a sheet on my worksheet.   I've tried loading the query a...
  • Anonymous's avatar
    Anonymous
    3 years ago

    So a couple things.  You'd be loading the data table from Power Query, the table should automatically load as a proper Excel table, so that your Pivot Table source can just be Table_Name (if that were the table name that you loaded to the worksheet).  When you refresh, the pivot table source is still the Table_Name, and so the range will automatically update.

     

    As for the calculated fields, you most certainly can add calculated fields to the data model, and they will show up in your pivot table.  You just need to create the calculated fields in the data model.  Click on "Manage Data Model", and then add your calculated coulmn in the "Add Column" space.  Or add a measure in the space below the table. Either way, it will load to your pivot table.

     

    --Nate