You've done a great job until now, and it's time to see some results. I know reports are still two chapters away, and we have a long journey to get there: but here we just want to take a sneak peek at how they work. Remember what we said; that we're just building SELECT
statements. So it's perfectly legal to create queries that only involve attributes. A very quick one could be the list of countries in our database.
Let's do our first report!
01 Countries list
.When you add an attribute on the rows of a report, MicroStrategy reads in the metadata where the attribute ID and DESC come from, and then issues a query to the data warehouse with the proper SELECT
statement. Once the result is returned the data is displayed on the screen according to the default report display forms that we specified in the Attribute Editor. The ID is not shown on the grid but it is actually retrieved from the dimension table.
Just out of curiosity, inside My Reports folder, double-click on the 01 Countries list icon to execute the report you just saved.
When the grid appears double-click on a country, for example, France, what happens?
Now double-click again on Orleans 45000, what do you see? Great! You just drilled down the Geography hierarchy. No need to create extra reports, MicroStrategy knows its way around dimensions. You can close these two new reports without saving them.