I have been working on a report and have been learning as I am doing it. Now I am stuck at a point and not able to figure out the solution so thought of reaching out for help.
In this report I am using a Data Model Pivot in Sheet 2 and on sheet one I am using GETPIVOTDATA to populate the data.
Cell A2 has date which is coming from a link to another cell
=IFERROR(IF(Pivots!BE6="Grand Total","",IF(Pivots!BE6=0,"",'Data Model'!AX4)),"")
Cell B1 has hard coded time as (0,1,2,3...... 23)
In Cell B2 I am trying to run the GETPIVOTDATA and it is showing the result, but as soon as I make it ref to cell A2 to get the date it is throwing an error.
=GETPIVOTDATA("[Measures].[Count of Incident #]",'Data Model'!$AZ$3,"[Range 1].[Time]","[Range 1].[Time].&["&B$1&"]","[Range 1].[Date]","[Range 1].[Date].&["&VALUE(A2)&"]")
Please help.
PS. Will not be able to share the file as has office data.
In this report I am using a Data Model Pivot in Sheet 2 and on sheet one I am using GETPIVOTDATA to populate the data.
Cell A2 has date which is coming from a link to another cell
=IFERROR(IF(Pivots!BE6="Grand Total","",IF(Pivots!BE6=0,"",'Data Model'!AX4)),"")
Cell B1 has hard coded time as (0,1,2,3...... 23)
In Cell B2 I am trying to run the GETPIVOTDATA and it is showing the result, but as soon as I make it ref to cell A2 to get the date it is throwing an error.
=GETPIVOTDATA("[Measures].[Count of Incident #]",'Data Model'!$AZ$3,"[Range 1].[Time]","[Range 1].[Time].&["&B$1&"]","[Range 1].[Date]","[Range 1].[Date].&["&VALUE(A2)&"]")
Please help.
PS. Will not be able to share the file as has office data.