Editing SME and Excel - Extracting Data in Meaningful ways

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
 
   
 
   
  
<h3>Summary:</h3>
+
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: 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.
Line 11: Line 11:
 
   
 
   
  
<h3>Ways of Using Excel with SME:</h3>
+
Ways of Using Excel with SME:
  
#    Connect Excel direct to SQL Server (preferred)
 
 
#    Output search grids to excel
 
#    Output search grids to excel
 +
#    Connect Excel through ODBC or direct to SQL Server
 
#    Print out to excel
 
#    Print out 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:
 +
 +
#    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
 +
 +
*    Go to the module you want for information.  For example, customers, service orders, invoices, etc.
 +
*    Select Search
 +
*    Select Options>Add Fields to Grid to select the information you want in the grid and then in excel.
 +
*    Arrange the columns how you want by dragging the columns to the appropriate position.
 +
*    If you want to group item, select the column and drag into the grey area above the columns.
 +
*    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.
 +
 +
<br>2.    Next select Options>Export to Excel and select the path and filename for export.
 +
<br>3.    Finally, open the Excel file you created and manipulate data as needed.
  
<h3>Connect Excel directly to SQL Server</h3>
+
 +
 
 +
 +
 
 +
*    Connect Excel through ODBC or direct SQL Server
  
 
This is the most powerful and flexible way to utilize SME with excel, however takes a bit more effort to setup.
 
This is the most powerful and flexible way to utilize SME with excel, however takes a bit more effort to setup.
  
* Open Excel
+
#    Excel 2007 now has capability to connect directly to SQL Server.  Follow these steps
* Go to the ‘Data’ tab
+
*       Open Excel 2007 or 2010
* ‘From Other Sources’
+
*       Select Data tab
* From Microsoft Query
+
*       Select From Other Sources and select "From SQL Server"
<br>[[File:Excel1.png]]<br>
+
*       Enter your SQL Server instance name  ( see step 5 onward below)
* Choose your Data Source (Contact High5 Software if you need assistance setting up your ODBC connection).
+
*       Select your SQL database
<br>[[File:Excel2.png]]<br>
+
*       Then you will be provided with a list of SME tables to select
* Click on the data source and click ok
+
<br>2.   To setup an ODBC connection see [[ODBC Connection]]
* You will be asked to log in. Put in your SQL password or contact High5 to set one up.
+
 
<br>[[File:Excel3.png]]<br>
+
<br>3.   For Excel 2003: Select +New SQL Server Connection.odc
* Set the options, uncheck all except Tables, set the Owner to ‘dbo’ as it makes finding the tables easier and then choose your columns.
+
 
<br>[[File:Excel4.png]]<br>
+
<br>[[File:03000005.png]]
* I recommend locating the table you are looking for and adding only one column, then editing the query in MS Query and adding the remainder.
+
 
<br>[[File:Excel5.png]]<br>
 
* Click ‘Next’ and pick a sort field. It’s better to wait until you edit the query.
 
<br>[[File:Excel6.png]]<br>
 
* Filter Data - It’s better to wait until you edit the query.
 
<br>[[File:Excel7.png]]<br>
 
* Click ‘View data or edit query in Microsoft Query
 
<br>[[File:Excel8.png]]<br>
 
* The Query Editor opens
 
* First step – turn off Auto Query or the query will attempt on every change.
 
<br>[[File:Excel9.png]]<br>
 
* Set your filter criteria:
 
<br>[[File:Excel10.png]]<br>
 
* Add fields
 
<br>[[File:Excel11.png]]<br>
 
* Sorting
 
<br>[[File:Excel12.png]]<br>
 
* Return the data to Excel
 
<br>[[File:Excel13.png]]<br>
 
* Pick the row/column for your data.
 
<br>[[File:Excel14.png]]<br>
 
* Returned Data
 
<br>[[File:Excel15.png]]<br>
 
* To edit the query:
 
* Right click in the query and select Table> Edit Query from the menu.
 
<br>[[File:Excel16.png]]<br>
 
  
<h3>Outputting search grids to excel</h3>
+
<br>4.Enter the Server Name and select Next
The final method is to print a report to Excel.
 
  
*    Output search grids to excel:
+
<br>[[File:03000006.png]]
 +
 
 +
<br>5.Select Database and table and select next
 +
<br>[[File:03000007.png]]
 +
 
 +
<br>6.Provide a file name, description and search terms and select Finish
 +
<br>[[File:03000008.png]]
 +
 
 +
<br>7.Select a location for the data
 +
<br>8.You can also edit the query for the data
 +
<br>[[File:03000009.png]]
 +
 
 +
<br>9.Note: Without editing the query, it will bring in the entire table.  Most likely you will only want to bring in specific data
  
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:
+
*Example: Pull in Customer name, city, state, Contact and email:
 +
#[[File:0300000A.png]]
 +
#This requires knowledge of SQL.
 +
<br>[[File:0300000B.png]]
 +
#    More complex SQL queries can be performed, please contact your local sql expert.
  
#   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
+
*   The final method is to print a report to Excel.
##    Go to the module you want for information.  For example, customers, service orders, invoices, etc.
 
##    Select Search
 
##  Select Options>Add Fields to Grid to select the information you want in the grid and then in excel.
 
##    Arrange the columns how you want by dragging the columns to the appropriate position.
 
##    If you want to group item, select the column and drag into the grey area above the columns.
 
##    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.
 
# Next select Options>Export to Excel and select the path and filename for export.
 
# Finally, open the Excel file you created and manipulate data as needed.
 
  
<h3>Print Report to Excel</h3>
 
 
All reports can be output as many different types of formats, for example graphic formats, pdf, and Excel.
 
All reports can be output as many different types of formats, for example graphic formats, pdf, and Excel.
  

Please note that all contributions to High5Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see High5Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)