Excel Dashboard Summary for specific Period [From Datasource / Pivot]

lgkartik

New Member
Joined
Jul 30, 2015
Messages
15
view
view
view


https://drive.google.com/file/d/0B9uhATNT4QB2dDYxVDhiZGtFdG8/view?usp=sharing
https://drive.google.com/file/d/0B9uhATNT4QB2SlhnQlBIcmhMVlU/view?usp=sharing
https://drive.google.com/file/d/0B9uhATNT4QB2MkEzY0RMaU04dGc/view?usp=sharing

EXCEL File - https://drive.google.com/file/d/0B9uhATNT4QB2bnhPNnV4dHJWaUk/view?usp=sharing

Hi All - I am trying to populate values of specific parameters into a dashboard for every 'team' & 'work type' based on the selected 'date'

The specific parameters are reported every week and is contained in the datasource.

The problem with using the getpivotdata is that only the count is returned and not the actual value which is what I am looking for.

Please Advice.

Thanks
KLG
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
GETPIVOTDATA returns whatever is in the pivot table. If you need a value other than the count, you need to have that value in the pivot table. It's hard to comment further when there aren't any formulas in your file. ;)
 
Upvote 0
Your formula is returning the Count of overall status because that's what you asked for. If you need to return row labels from the other pivot table, you need to use direct cell links or lookup functions.
 
Upvote 0
Direct cell links would be more of a static solution.

The data source would be growing every week and I would like to do a dynamic referencing in the main sheet based on the dates that are selected.
Kindly guide me on how this can be achieved?

Do you mean Lookup on the Pivot table. If so the lookup range of the pivot dynamically adjust with the growing datasource, isnt it?

Thanks
 
Upvote 0
You could either use a dynamic named range, or simply set a range larger than your pivot is likely to grow:

=LOOKUP(2,1/('Pivot-DataSet'!$B$1:$B$1000=E$4)/('Pivot-DataSet'!$G$1:$G$1000=$B$1),INDEX('Pivot-DataSet'!$C$1:$G$1000,0,MATCH($D5,'Pivot-DataSet'!$C$3:$G$3,0)))
 
Upvote 0
Thank you very much Rory for all your responses. That introduced me to the capabilities of using LOOKUP, INDEX, MATCH & OFFSET. I was not using these functions as heavily as I used the VLOOKUP.

However your formula

=LOOKUP(2,1/('Pivot-DataSet'!$B$1:$B$1000=E$4)/('Pivot-DataSet'!$G$1:$G$1000=$B$1),INDEX('Pivot-DataSet'!$C$1:$G$1000,0,MATCH($D5,'Pivot-DataSet'!$C$3:$G$3,0)))

which can be stated as below was a bit complex for me to infer

=LOOKUP(2,1/(PivDatSrcCOERange=RepCOEVal)/(PivDatSrcRepDateRange=RepDateVal),INDEX(PivDatSrcAllStatRange,0,MATCH(RepStat,PivDatSrcHeaderRange,0)))

I have written a vba function to do the job. I call the function as
=getStatus(DatSrcDateRange,FunARM,CoeBI,ReportDate,IndxFunc,IndxCoe,IndxOverallStat)

Function getStatus(dataRange As Range, repFun As Range, repCOE As Range, repDate As Range, indxFun As Range, indxCOE As Range, indxStat As Range) As String

Dim xDataRange As Range
Dim xRepDate As String
Dim xRepFun As String
Dim xRepCOE As String
Dim xIndxFun As String
Dim xIndxCOE As String
Dim xIndxStat As String

xIndxStat = indxStat.Value
xIndxFun = indxFun.Value
xIndxCOE = indxCOE.Value


xRepDate = repDate.Value
xRepFun = repFun.Value
xRepCOE = repCOE.Value




For Each xDataRange In dataRange


If xDataRange.Value = xRepDate Then
If (xDataRange.Offset(0, xIndxFun).Value = xRepFun) Then
If (xDataRange.Offset(0, xIndxCOE).Value = xRepCOE) Then
getStatus = xDataRange.Offset(0, xIndxStat).Value
End If
End If
End If


Next xDataRange


End Function
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,322
Members
452,635
Latest member
laura12345

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