• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Dashboard with retrievable data (PowerPivot, multiple pivot tables, plus macro)

SDV

New Member
Hi everyone,

My team has requested for another level of detail in our dashboard- they want to be able to see the data points behind the numbers.

For example, if the data shows 3 employees in Hong Kong, they will click on the number '3', and the names of the 3 employees will show up. It's an easy enough pivot table drill down.

The challenge is that I have a number of tables linked together for this data, and I also have a few calculated columns. I am teaching myself Powerpivot and the GETPIVOTDATA syntax to retrieve those details.

My solution is to have a dozen pivot tables in one file (using Power Pivot to combine multiple source files) and slicers linked to all of them. The pivot tables can be copied to 1 tab for easy use, and the slicers will be placed in that tab. Then, I want to write macros to drill down the data.

My questions:

1. Is this the best solution to this problem? I have files for each month of the year, with thousands of employee records, and all of them need to be in the same pivots, for us to get the KPIs we want.

2. I am using PowerPivot, multiple pivot tables, and macros in the same file. It feels like climbing up the walls of a 50-storey sky scraper - the whole set up could come crashing down any minute. :(
Suggestions? Ideas? How would you approach this challenge?

3. Finally, for my macros, I have a macro that can do the drill down, but I don't know how to point it to the Active Cell I want. In my ideal world, the macro would read the pivot table and slicer settings, and do the drill down.

My sample file has just some basic info, and a model of how this would work (post the PowerPivot stage). All sheets except the 'Snapshot' sheet will be hidden. Please let me know how I can make this simpler, and how to write the macro, if it is still required. Thanks!
 

Attachments

  • Sample.xlsm
    311.2 KB · Views: 6
Do you have access to PowerView or have access to PowerBI account?

These will likely fit your need better.

PowerPivot connected to slicer can have issue with drilldown (If you make multiple selection in any one slicer and drilldown, you will get an error).

Alternative is to use slicer selection as parameter and return resulting data via PowerQuery.
 
FYI - Power BI has native function to drill down from chart, table etc to underlying records.

upload_2017-3-3_7-55-17.png
 
Unfortunately no. :( I downloaded the Desktop version and it's perfect for our needs, but access is restricted by Corp, so I cannot share any files.
 
Back
Top