Power Pivot - Sum Issue

d0hb0y

New Member
Joined
Dec 5, 2023
Messages
6
Office Version
  1. 365
Platform
  1. Windows
I am using the Data Model to combine three (3) different tables utilizing an Employee ID column for the link.
Capture.JPG
When I use this mode to create a Pivot Chart, I receive the below message.

Capture.JPG

The three tables created are Train_Tble, RollCall_Tble, and Sim_Tble. When attempting to just grab a Sum of the Hours, I receive the message above. However, I can get a sum just by summarizing as a pivot table. The Hours column is formatted as Time in the Table and Data Model.

Capture.JPG


The formulas in the table are:

Day: =IF([@Date]="","",TEXT([@Date],"DDDD"))
FQtr: =IF([@FMnth]="","",INDEX(FQtrTble,MATCH([@FMnth],FQtrTble[FMnth],0),2))
FMnth: =IF([@FWk]="","",INDEX(FiscalTble,MATCH([@FWk],FiscalTble[Fwk],0),2))
FY: =IF([@Date]="","",YEAR(EOMONTH([@Date],AddMths)))
FYStart: =IF([@Date]="","",DATE([@FY]-1,FYNum,2))
FWkStart: =IF([@FYStart]="","",[@FYStart]-WEEKDAY([@FYStart],1)+1)
FWk: =IF([@Date]="","",INT(([@Date]-[@FWkStart])/7)+1)
Attendees: =XLOOKUP([@[Employee ID]],Employee_Tbl[Employee ID],Employee_Tbl[Officer],"")
Shift: =XLOOKUP([@[Employee ID]],Employee_Tbl[Employee ID],Employee_Tbl[Shift],"")
 

Attachments

  • Capture.JPG
    Capture.JPG
    16.9 KB · Views: 4
  • Capture.JPG
    Capture.JPG
    107.3 KB · Views: 2
  • Capture.JPG
    Capture.JPG
    50.1 KB · Views: 3

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
You could make it a decimal field rather than date.
 
Upvote 0

Forum statistics

Threads
1,215,095
Messages
6,123,073
Members
449,093
Latest member
ripvw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top