The third option is to have one or more predefined queries. Now, the issue with predefined query is that that you have the specific query returning these columns. It’s a very fixed results set that so as the needs change or as things happen with the database, there’s a heavier demand on IT to be constantly creating new ones or managing the old ones because with that limited fixed results, that means that the query is only usable for one or two dashboards.
With relational databases that have that column table structure, we have the second option which is a data model. What the data model is, it’s not a predefined query. The mapping or business layer where you map your tables and columns to business like entities and attributes and that label or column, that is nicely and neatly organized by the developer is then exposed to the end users.
Now, that list of columns, that could be coming from 10, 20, or 30 tables from the database. I as the end user don’t need to understand the complexities of the data. I can then use the simple grouping that the developer is creating to tell what data is from which column. So, here what I’m going to do is I’m going to select the order model to create a dashboard.
I’m opening a worksheet. The row and column orientation is for the views is so that you can use a row and column to orient that the tables and the free hand table selection element. You can read by particular rows and columns or those elements. On the left you can see my data model. So, here what my developer has done is he has taken fields from as many tables as needed. He set up the relationships between the tables, how the tables relates to each other or kind of joins that need to be created.
Then he took all the columns that you have related to customer information and grouped them together in a model called ‘my customer company.’ Now, I can tell the difference between my customer company column and my suppliers company column and whether or not you’ve come from 10, 20, or 30 tables, it doesn’t matter. You see just a nice, neat grouping that I can use as an end user to develop a dashboard.