MicroStrategy ONE

Creating Freeform SQL reports or Query Builder reports from text files - Step 2: Setting up the data source (ODBC)

You must complete Step 1: Preparing the text File before performing the following steps:

  1. From the Control Panel of your machine, select Administrative Tools.

  2. Select Data Sources (ODBC). The ODBC Data Source Administrator dialog box is displayed.

  3. Select the System DSN tab, and then click Add. The Create New Data Source dialog box is displayed.

  4. Select MicroStrategy ODBC Driver for Text and then click Finish. The ODBC Text Driver Setup dialog box is displayed.

    This driver is available with MicroStrategy 8.0.2 and later.

  5. On the General tab, enter a Data Source Name (DSN).

  6. In the Database Directory field, provide the path of the directory where you saved the text file.

  7. Select Comma as the Default Table Type, unless the file has a different delimiter (comma is the default).

  8. Select the Column Names in First Line check box.

  9. On the Advanced tab, click Define. The Define File dialog box is displayed.

  10. Select the text file to define and click Open. The Define Table dialog box is displayed.

  11. You must associate a table name with the text file. In the Table Information area, in the Table text box, enter the name to be used for the table within MicroStrategy.

  12. Select the Column Names in First Row check box.

  13. Click Guess to display all the columns contained in this table.

  14. Click OK to return to the Define File dialog box.

  15. Click Cancel to return to the ODBC Test Driver Setup dialog box.

  16. Click Apply and then OK to return to the ODBC Data Source Administrator dialog box.

  17. Click OK. The data source for the text file is now set up.

You can use the MicroStrategy ODBC Test Tool to test if data can be retrieved from the table you created in the text file.

Next step