EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB30729: How to define a Excel 2007 as a datasource for Freeform SQL Report


Community Admin

• Strategy


Data saved in Excel 2007 as .xlsx format can be used as a datasource for Freeform SQL report. Follow the steps below to create a Freeform SQL report to execute against Excel 2007.

Summary:
Data saved in Excel 2007 as .xlsx format can be used as a datasource for Freeform SQL report. Follow the steps below to create a Freeform SQL report to execute against Excel 2007.
Prerequisites:
In the Intelligence Server if 3-tier used or in the local machine if 2-tiers used, install Microsoft Office 2007.

  • Create the DSN to Excel 2007, in the ODBC Data Source Administrator
ka04W000000OcDCQA0_0EM440000002JI4.jpeg
  • Put a name to DSN, and select the Excel file, in Database Version set as Excel 12.0
ka04W000000OcDCQA0_0EM440000002JI2.jpeg
  • In Strategy Desktop 8.1.x, create a new database connection, as type Generic DBM
ka04W000000OcDCQA0_0EM440000002JI6.jpeg
  • Select the DSN created in the Step 1.
ka04W000000OcDCQA0_0EM440000002JI0.jpeg
  • Select a user to connect for this DSN
  • Close the Database Connection wizard.
  • Create a new Freeform SQL report.
  • Select the database instance as Excel 2007 (create in step 3)
  • In this example, the Excel only have 1 sheet with the name: Table1 and 2 columns
ka04W000000OcDCQA0_0EM440000002JIC.jpeg
  • Type

    Sample Code/Error
    Select id_test,desc_test from ;

ka04W000000OcDCQA0_0EM440000002JHy.jpeg
  • Save the report
  • Run the report
ka04W000000OcDCQA0_0EM440000002JIE.jpeg

 


Comment

0 comments

Details

Knowledge Article

Published:

May 16, 2017

Last Updated:

May 16, 2017