Refer to yesterday’s blog on how to get this process started by generating a .csv file out of your HRIS.
Step 2: Link Excel to your .csv file. The steps are like this:
- First, Open Excel, new blank workbook. Top of screen click DATA, now right under DATA click Connections, Workbook Connections window opens. Click Add, then Browse for More button in lower left hand corner. Find your file in the file manager and click on it. Click Open.
- “Text Import Wizard” dialogue box opens. File type “Delimited” should already be chosen, so skip it. Click the box beside “My Data Has Headers” if yours does (which I hope it does or more work is in store). Click Next.
- “Text Import Wizard Step 2 of 3” dialogue box opens. Your “Data preview” at bottom should show your fields separated by vertical lines, and each field should be consistent with the column header. If not, check the box beside the proper Delimiter at the top of the screen.
- Click Finish, then Close the last Workbook Connections dialogue box if your file name is shown properly there.
Second, it’s time to link your connection to a data model. Your workbook still looks blank.
- You should still be on the DATA tab. If not, click DATA.
- Click Existing Connections. The “Existing Connections” dialogue box opens, and click on your filename, then Open.
- “Import Data” dialogue box appears. Click the box beside “Add this data to the Data Model“. Now go up and click the bullet beside “Only Create Connection“. Click OK. Excel should now work a bit, will tell you “Loading Data Model” on the ribbon at the bottom of the screen. Yep, your workbook still looks blank, but you have a data model loaded.
Third, create your display device. I prefer Pivot Tables because of their flexibility, and also their ability to show the same data entirely differently for various managers or analyses.
- Click INSERT, Pivot Table in left corner of toolbar. Click the radio button beside “Use an external data source” and then click the “Choose Connection” button.
- Under “Connections in this Workbook“, pick the item that has a “can” looking icon instead of an Excel icon (the “can” is Microsoft’s icon for data source, in this case it’s your data model). Click Open.
- Back to the “Create Pivot Table” box, click OK.
What you should be seeing at this point is the structure for creation of a pivot table. A sure sign that this is working is to look into the “Pivot Table Fields” box at the right side of your screen. If you see your file name there and a list of fields below it that are the fields you intended to get out of your HRIS, this thing is working!!
There’s one more step before we forget: Let’s make the automatic update of data happen.
Fourth and final for today:
- Click DATA, then Connections, and the “Workbook Connections” dialogue box appears. You should see the names of your HRIS file and the name of your Data Model.
- Click the name of the HRIS file, then “Properties“. Under “Refresh Control” click the box beside “Refresh data when opening the file“.
- Repeat the last step for your Data Model also.
- By setting up this connection to automatically refresh every time you open the file, you’ve established the method for your data to be current. What you need to do on the HRIS end is to have your report run automatically every day or week or however often you’d like, and then overwrite the file name that you used for your original .csv file. Most HRIS systems can do this; if not, ask your IT representative or the vendor how to set up automatic batch files. (Or surf the web; it’s out there somewhere.)
Today’s blog is not about how to use Pivot Tables. But as a quick starter, if you go back to your pivot table tab, you can click on a field and see what happens. I recommend choosing an organizational field, like Unit, or Department, or Location – something like that. Your organization units should display down the left side of your screen. Then click on the unique employee identifier, like the ID number or Social Security Number. What happens? You just have gotten a quick count by organization unit.
Building the pivot table reports to show what you want will take some effort. (Another blog, another day.) But once they are built and working properly, dumping external data into them is a breeze. (You’ve already set it up to dump automatically.) Plus we can copy your functioning pivot table, make some modifications that make it look entirely different for another client, and then every time you open the workbook that one will update too!
Now, unfortunately, IF your data didn’t have headers, that creates problems for this whole thing because Pivot Tables need headers. Two reasonably decent options: 1) go back to your HRIS and figure out how to make it print headers into your report. 2) When establishing the connection under the Second step above, you can skip the “Add this data to the data model” part and tell it to put the data in the “Existing Worksheet” (radio button). Tell it to start in $A$2 instead of $A$1, which will give you a blank line above your data. Now you are stuck looking at all of your raw data, which the data model avoids, but we can make this work. Type your data headers on top of the columns (don’t miss any). Select the entire worksheet (click the triangle to the left of “A” and above “1”) and click INSERT. You can now continue with the Pivot Table as above; you won’t have to use an external connection because it will use the data you’ve just highlighted.
Over the past two blogs on this subject, we’ve learned how to output from the HRIS into a .csv file, then how to link your .csv file into a data model in Excel.
Upcoming post: We will form this mass of data into some meaningful reports using pivot tables. They are incredibly powerful and once you learn them you’ll want to use them again and again!! I’ll even share an example file or two with you.
One more housekeeping item: We said this is helpful because it helps keep your confidential data in your hands. Now that you’ve linked your spreadsheet to your .csv file, this data can be accessed by just about anyone who knows how to build a pivot table. So put a password on your Excel file. Use the File – Save As option, when file name appears, you’ll see a Tools button beside the Save button. Click Tools, and General Options, and a password option appears. Save your file with your new password.
My one and only disclaimer on this: I’m a reasonably strong Excel user, not an expert. If for some reason this doesn’t work on your machine, comment me back and we’ll work it out together. I’m using Excel 2013 on a Windows 8 machine and I’m pretty sure the Data Model doesn’t exist prior to Excel 2013. There are ways to do similar data importing and updating in prior versions but that will take some work.