SME and Excel - Extracting Data in Meaningful ways

From High5Wiki
Revision as of 22:25, 16 February 2015 by Marks (talk | contribs)
Jump to navigation Jump to search

SME and Excel: Extracting Data in Meaningful ways


Summary:

SME: Service Management Enterprise provides a complete service management solution with complete reporting capabilities. As you know, Excel is a powerful program for data manipulation and reporting. Combining the capabilities of SME and Excel give a powerful way of working with business data.

SME has multiple ways to work with Excel. This document describes the various ways to utilize excel with SME.


Ways of Using Excel with SME:

  1. Connect Excel direct to SQL Server (preferred)
  2. Output search grids to excel
  3. Print out to excel



Connect Excel directly to SQL Server

This is the most powerful and flexible way to utilize SME with excel, however takes a bit more effort to setup.

Excel 2007 onward now has capability to connect directly to SQL Server.  Follow these steps
  1. Open Excel 2007 or 2010
  2. Select Data tab
  3. Select From Other Sources and select "From SQL Server"
  4. Enter your SQL Server instance name ( see step 5 onward below)
  5. Select your SQL database
  6. Then you will be provided with a list of SME tables to select
    1. For Excel 2003: Select +New SQL Server Connection.odc
    2. ExcelConnect5.png
  7. Enter the Server Name and select Next
    1. ExcelConnect6.png
  8. Select Database and table and select next
    1. File:ExcelConnect7.png
  9. Provide a file name, description and search terms and select Finish
    1. File:ExcelConnect8.png
  10. Select a location for the data
  11. You can also edit the query for the data
    1. File:ExcelConnect9.png
  12. Note: Without editing the query, it will bring in the entire table. Most likely you will only want to bring in specific data
  13. Example: Pull in Customer name, city, state, Contact and email:
    1. File:ExcelConnectA.png
  14. This requires knowledge of SQL.


File:ExcelConnectB.png

  1. More complex SQL queries can be performed, please contact your local sql expert.

Outputting search grids to excel

The final method is to print a report to Excel.

  • Output search grids to excel:

This is the simplest and quickest way to get data to excel. Any data you can show in an SME search grid can be output to excel. Here is how:

  1. First create the search grid or search view you want. There are many ways to get the grid to show information you want. Follow these steps and options to get the search grid to show what you want
    1. Go to the module you want for information. For example, customers, service orders, invoices, etc.
    2. Select Search
    3. Select Options>Add Fields to Grid to select the information you want in the grid and then in excel.
    4. Arrange the columns how you want by dragging the columns to the appropriate position.
    5. If you want to group item, select the column and drag into the grey area above the columns.
    6. If you want to filter certain data, select the green funnel icon towards the bottom left. This pulls up a filter too to filter on available data.
  2. Next select Options>Export to Excel and select the path and filename for export.
  3. Finally, open the Excel file you created and manipulate data as needed.

Print Report to Excel

All reports can be output as many different types of formats, for example graphic formats, pdf, and Excel.

  1. Select the report you want to output to excel. You can select the reports in Doc Center>Reports or in the individual modules
  2. Select print
  3. Towards the bottom, select Print to File
  4. Select Excel File
  5. Select the location and name of the file to export