Forum Discussion

WillSmyth's avatar
WillSmyth
Copper Contributor
Jul 31, 2023
Solved

Pivot with a mix of static and transactional data

I have some excel sales data from an SQL view.  The data is a merge of monthly sales transactions and the static customer information.  Currently I have a PIVOT (tabular format) that display the cu...
  • Martin_Weiss's avatar
    Aug 01, 2023

    Hi WillSmyth 

     

    yes, it's possible datamodel / Power Pivot.

    You need to load the transaction table into the datamodel (menu "Power Pivot | Add to Data Model")

    In the datamodel, you need to create a calendar table (menu "Design | Date Table | New)

    Then create a relation between transaction table and calendar table based on the date field.

    Create a pivot table from the datamodel (menu "Insert | PivotTable | From Data Model")

    Add a timeline and use the date field from the calendar table (not from the transaction table!)

    Open the PivotTable Option, Display tab and tick the checkboxes "Show items with no data on rows/columns"

    I have done this already in the attached workbook.

     

    Kind regards,

    Martin

     

     

Resources