Get Data table from Excel Chart (pivot chart)

Nexus981

New Member
Joined
Sep 20, 2017
Messages
7
Hi,

I have created a Pivot Chart with Slicers etc. After the user selects the date ranges and filters. IS there a way to then export that view to a data table? Kinda of like in a regular pivot table you can click on the totals and then get the raw data related to that number?

My users are asking for visuals but I know they will need a table view as well as some of the individual value matter and knowing and seeing the exact value is as important as seeing the value relative to the group.

Thanks In Advance For The Help!

Andre
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi

o What Excel version are you using?
o Below is a VBA solution for a chart sheet. Please confirm you are using an embedded chart and I will prepare the required class module.

Code:
Private Sub Chart_MouseUp(ByVal Button&, ByVal Shift&, ByVal x&, ByVal y&)
Dim ElementID As Long, Arg1 As Long, Arg2&
' creates data table based on clicked element
' Pass: x, y. Receive: ElementID, Arg1, Arg2
ActiveChart.GetChartElement x, y, ElementID, Arg1, Arg2
If ElementID = 3 Then       ' data element
    ActiveChart.PivotLayout.PivotTable.DataBodyRange.Cells(Arg2, Arg1).ShowDetail = 1
    ActiveWindow.FreezePanes = 1
End If
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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