Thursday, 21 June 2018

Freeform SQL in MSTR

The Freeform SQL functionality adds great flexibility to MicroStrategy’s query and reporting capabilities. Traditionally, you use the MicroStrategy Engine to generate SQL to run against one specific relational database for a report. In addition to generating reports in the traditional way, you can use your own customized SQL statements to generate reports from operational systems included in a MicroStrategy project. This capability can save time since you do not need to place the data into a data mart or data warehouse first.


The Freeform SQL feature allows you to use your own SQL statements to access data from various ODBC data sources, including relational databases, Excel files, and flat files, as long as they are included in the MicroStrategy environment. Since you create your own SQL statements to create reports with Freeform SQL, a strong knowledge of how to create and use SQL statements is essential.
Details on how to create Freeform SQL reports from these ODBC data sources are discussed in this section.
The following image shows the Freeform SQL Editor, where you define the SQL statement for the report. Notice the different panes for different purposes.

No comments:

Post a Comment