Home

GetPivotData Function

%3CLINGO-SUB%20id%3D%22lingo-sub-310181%22%20slang%3D%22en-US%22%3EGetPivotData%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-310181%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20wrap%20my%20head%20around%20a%20GetPivotData%20function%20that%20is%20being%20used%20so%20I%20can%20modify%20it%2C%20and%20I%20can't%20seem%20to%20figure%20out%20how.%26nbsp%3B%20The%20following%20GetPivotData%20function%20is%20being%20used%20in%20a%20sheet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3DGETPIVOTDATA(%22%5BMeasures%5D.%5BTotal%20Inter%20Taken%5D%22%2C'Calls%20by%20Day%20MTD'!%24A%244%2C%22%5BTime%5D.%5BTime%20Zone-Time%5D%22%2C%22%5BTime%5D.%5BTime%20Zone-Time%5D.%5BDATE%5D.%26amp%3B%5B3%5D%26amp%3B%5B%22%26amp%3BYEAR(%24D7)%26amp%3B%22%5D%26amp%3B%5B%22%26amp%3BTEXT(%24D7%2C%22YYYYMMDD%22)%26amp%3B%22%5D%22)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20cell%20D7%2C%20there%20is%20a%20date%20and%20this%20formula%20will%20take%20that%20date%2C%20look%20at%20the%20pivot%20located%20at%20A4%20on%20the%20sheet%20%22Calls%20by%20Day%20MTD%22%2C%20look%20for%20the%20date%20in%20the%20Pivot%2C%20and%20send%20back%20the%20value%20in%20the%20column%20%3CSTRONG%3ETotal%20Inter%20Taken%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20change%20it%20from%20the%20date%20to%20a%20time%2C%20so%20instead%20of%201%2F1%2F2019%2C%20it%20will%20be%2012%3A00%20AM%20in%20D7%20and%20the%20pivot%20will%20have%20time%20instead%20of%20dates%20in%20the%20rows.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20GetPivotData%20function%20looks%20nothing%20like%20how%20any%20of%20the%20websites%20I've%20tried%20to%20google%20are%20using%20it.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-310181%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
kensandy1
Occasional Visitor

Hi All,

 

I'm trying to wrap my head around a GetPivotData function that is being used so I can modify it, and I can't seem to figure out how.  The following GetPivotData function is being used in a sheet.

 

=GETPIVOTDATA("[Measures].[Total Inter Taken]",'Calls by Day MTD'!$A$4,"[Time].[Time Zone-Time]","[Time].[Time Zone-Time].[DATE].&[3]&["&YEAR($D7)&"]&["&TEXT($D7,"YYYYMMDD")&"]")

 

In cell D7, there is a date and this formula will take that date, look at the pivot located at A4 on the sheet "Calls by Day MTD", look for the date in the Pivot, and send back the value in the column Total Inter Taken.

 

I want to change it from the date to a time, so instead of 1/1/2019, it will be 12:00 AM in D7 and the pivot will have time instead of dates in the rows.

 

The GetPivotData function looks nothing like how any of the websites I've tried to google are using it. 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies