Exercise 14

The two metrics come from the same fact table, so in the SQL view there is just one SELECT statement with both count(1) and sum(a11.SalesAmount).

See the image for results:

Exercise 14

Get Business Intelligence with MicroStrategy Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.