AIML-BI Unit 4
AIML-BI Unit 4
• The dimensional reporting style is recommended for dimensionally-modeled relational (DMR) and Online Analytical
Processing (OLAP) data sources. Dimensional data is best represented by crosstabs, maps, and charts. This data is shown in
IBM® Cognos® Analytics - Reporting in dimensions, hierarchies, levels, and members.
• In dimensional reporting, you summarize data by using member summaries and within set aggregation. You focus data in
dimensional reporting by adding only the relevant members to the edge of a crosstab or to the context filter. You can also
enable drilling up and drilling down in dimensional reports.
• Add dimensional data to a report
• For dimensional and mixed model data sources, you can view the full data tree by clicking the Options icon dimensional
data view options icon (Data icon Data icon, Source tab) and then clicking View metadata tree. You can switch to the
dimensional-only data tree by clicking the View members tree option.
• Creating dimensional custom groups
• Create custom groups to classify existing data items into groups that are meaningful to you.
• Summarizing data dimensionally
• Summarize data in your reports to obtain totals, averages, and so on.
• Focusing Dimensional Data
• In IBM Cognos Analytics - Reporting, there are three approaches to focusing dimensional data in a crosstab:
Dimensional Reporting Style
• If you think about your data as tables and columns, you have a relational
viewpoint and should use a relational reporting style.
• If you think about your data as a number of dimensions intersecting at cells,
you have a dimensional viewpoint and should use a dimensional reporting
style.
Relational reporting style
• The relational reporting style consists of lists. You focus the data with filters and
summarize with header and footer summaries.
• If your data is purely relational, then only query subjects and query items appear in the
Source tab source tab, and you must use the relational reporting style.
• If your data is dimensional, then dimensions appear in the Source tab source tab, and
you can still use a relational reporting style, but instead of query items (columns) and
query subjects (tables), you use measures, levels, and level properties.
• To see an example of relational style reporting with dimensional data, see the Manager
Profile sample report in the GO Data Warehouse (analysis) package.
• The relational reporting style is similar to report authoring in IBM Cognos Query Studio.
Dimensional reporting style
• How the data is plotted depends on the chart type. The maximum number of non-measures is two. You can plot any number of measures in
a report. However, a chart that has more than four or five measures is difficult to understand.
• IBM® Cognos® Query Studio charts plot the most summarized data in the report. Focus the chart by eliminating unnecessary measures from
your report and reordering the columns so that the most significant non-measures are in the outer levels of nesting.
• Create a Chart
• Use charts to see patterns and trends in data. For example, you can see how actual sales compare to projected sales, or whether sales are
falling or rising over quarterly periods.
• Example - Create a Pie Chart for Units Sold
• You are a report author at the Sample Outdoors Company, which sells sporting equipment. You are requested to create a chart that
illustrates the relative contribution each product line makes to the quantity of units sold. You reuse the units sold report to create a pie
chart that emphasizes the percentage contribution of each product line.
• Download a Chart
• You can download a chart onto your computer. This is useful when you want to send the chart to someone else or view the chart at a later
time.
Types of Charts
• Micro chart
• Pie Chart
• Column Chart
• Marimekko Chart
• Progressive Column Chart
• Pareto Chart
• Bar Chart
• Line Chart
• Area Chart
• Radar Chart etc.
Map
• Maps are most often used to show geographical areas, but they can be used to
show other spatial information, such as a floor plan in a building, seats in an
airplane, or parts of the human body.
• Maps are similar to crosstabs in the way their data is organized. The display is
different, but maps show the intersection of data the same ways as crosstabs; for
example, you can see the revenue for golf equipment in Canada.
• Region layer
• Specifies the regions on a map to be differentiated according to values in the data source. For example, to show the
revenue level for each country and region on a map of the world, choose Country and Region as the region layer and
then specify that the color of each country and region is based on the revenue value for that country and region.
Areas can be set up for drilling through to other reports.
• Point layer
• Specifies the points to be placed on a map. The color and size of the points is based on the data that you select. For
example, you choose to show cities as points on a map and set the color of each point by revenue and the size of
each point by profit. Points can be set up for drilling through to other reports.
• Display layer
• You can show or hide items such as grid lines or capital cities. This layer is determined in the map file and not in the
data source.
Grouping data and Sorting
• Grouping Data:
• After designing the basic layout, you may decide that grouping
the records by certain fields or other criteria would make the
report easier to read. Grouping allows you to separate groups of
records visually and display introductory and summary data for
each group. The group break is based on a grouping expression.
This expression is usually based on one or more record set fields
but it can be as complex as you like.
• Generally, all the filters that you set in Tableau are independently computed. Basically what it means is that each filter
accesses all rows in your data source without regard to other filters. A context filter is like an independent filter. Any other
filter that is set is termed as a dependent filter due to the fact that they only process the data that passes through the
context filter.
• Now, you can deploy a context filter to achieve either of the following;
• Better Performance: If there are a lot of filters set or the data source is rather large, the queries tend to be slower. In such a
scenario, one can set context filters to improve performance.
• Top N Filter: One also can set a context filter to include only their data of interest, followed by setting a numerical or a top
N filter.
• For instance, if you’re in charge of food products for a really large grocery chain. Your task is to find the top 10 snack bars
by profitability for all stores. Obviously, the data is enormous. Here, you can set a context filter to include only snack bars
and create a top 10 filter by profit as a dependent filter. This would process only the data that passes through the context
filter.
Adding Calculations to Reports
• This function calculates simplified key ratios and indicators and stores them in
the period value database table.
• In this function you define formulas for key ratios and other calculations to be
stored on calculation accounts. These accounts must then be processed and
calculated from the Group/Calculate Fast Formulas menu before the correct
calculated values can be displayed in reports. This is a quick way to generate key
indicators.
• Alternatively you can create reports with other types of formulas and calculation
accounts. These reports need to be generated and calculated from
the Group/Calculate Report Formulas menu.
• When defining calculations for calculating fast formulas you follow these steps:
• define which accounts to retrieve values from
• define which periods to retrieve values from
• define the key ratio to be stored on the calculation account
Adding Calculations to Reports
• Difference between Report Formulas and Fast Formulas
• The differences between the Report Formulas and Fast Formulas are:
• In the Report Formulas you create a user-defined report where you define a
calculation in the Microsoft Excel layout. The calculation is used as input in the
function fCalcVal. The calculation is stored in the database when you run Calculate
Report Formulas. In Fast Formulas you define a calculation on
the Reports/Define Calculation menu and you do not need to create a user-
defined report. The calculation is stored in the database when you run Calculate
Fast Formulas.
• In the Report Formulas you define the calculation in any way you like, while the
calculation definition is more restricted in the Fast Formulas. You can not, for
example, divide two accounts with each other in the Fast Formulas, which lessens
the risk for unexpected results.
• In Report Formulas you can run the calculation on a more detailed level than
in Fast Formulas, for example, you can run the calculation for a specific dimension
in Report Formulas.
Conditional Formatting
• Conditional formatting allows you to highlight exceptional data in a
report.
• You can format parts of your report based on one or more string values, a
report condition, or data values. To define conditional formatting, add a
namedConditionalStyles element to your report specification.
What is Drill Down and Drill up functionality in
Business Intelligence?
• Drill down and drill up, in case you didn’t know, make reporting both practical and powerful at the same
time. In business intelligence, drill down and drill up are two important features. In data analytics tools, they
both give you the freedom to see information and data. Even though they do things differently, this is
especially true.
• Drill down is a feature that allows a user to go from a broad view of data to a more detailed one with a single
mouse click. A report on sales revenue by state, for example, allows the user to select a state, click on it, and
view sales revenue by city or county in that state.
• Drill down is a feature that allows you to go much deeper into more specific data or information layers being
assessed, and it’s what we call “drill down.”
• Remember that drilling down is a technique for quickly navigating through worksheet data and finding
answers to the questions that your company is facing. You can use the drilling to detail method to look up
the values that make up a particular summary value. You can also drill down to related items, adding data
that isn’t currently included in the worksheet.
Advantages of drill down and drill up function in data
exploration
• When it comes to data discovery, the drill down and drill up functions have numerous advantages.
• It reduces the amount of reporting required and improves overall reporting performance
• The drill down function can lighten the overall load on the server during the query period by presenting only one layer of data. As
a result, it improves reporting performance while also providing excellent value to end users.
• The best way to think about how drill-down works, is to tell yourself that you’re ‘walking through the different
levels of a hierarchy’. To drill-down, by definition, requires the use of hierarchical data where values are grouped
into levels.
• If asked, I would hazard a guess that most people would tell me that drilling-up is simply the
opposite of drilling-down, to undo the drill-down that you just performed. And that’s correct
– people mostly do only use drill-up as an undo system for drill-down. What most people
miss is that drill-up can also be used as a data exploration entry point for rapidly changing
data.
• Think it of this way, if you have daily data, it makes sense to default your dataset to show the
bottom level so users can see the latest results. If you do something like this, drill-up
becomes a mechanism to allow the users to further explore trends while still quickly being
able to see new results.
• Here’s what I mean. The following chart contains data coming in at an hourly basis and as a
default, it is showing all data from ‘today’ as a sliding window. This is perfect as it will allow
the user to see what has just happened.
Drill-Up
• Having seen the incoming hourly data for the day, the
user might be interested in seeing how they are
trending at the day level. To see the next level up,
they’d click ‘Drill-Up’. In this drill-up solution, we work
our way backward in the hierarchy and move from the
hour level to the day level.
• After drilling-up, the window of ‘today’ no longer makes
sense as it would result in a single data point. Instead,
the chart is automatically expanded to show the next
level available, which in our case is ‘month’. The results
are daily data points for this month.
• Just like before, you might want to take this a step
further and drill up again. The level above ‘month’ is
‘year’ and since there is no level greater than year, we
would move up to the year level and show all data for
the last decade. This is the maximum level that a user
could drill-up to using the hierarchy that we have
provided.
• Wow. Would you look at that? We’ve been trending
down on the year since 2017, and yes, 2020 looks good
now, but we mustn’t forget that it’s only January and a
lot can change throughout the year, so we’ll keep an eye
on it.
Drill-Through
• Drilling-through is just a fancy
way of saying navigation, but it’s
a very important concept as it
allows users to further explore
related data by clicking on a
visualization. In this experience,
you are taking what the user
clicks and sending them to
another dashboard or report to
show related data.
• In the following dashboard, the
user can see a summary of a key
metric from 5 different
departments on the left half of
the dashboard.
Drill-Through
• Clicking on
the
visualization
brings the
user
somewhere
completely
different: a
Manufacturin
g Dashboard
where we can
see all the
metrics for
our
Manufacturin
g
Department.
Drill-to-Detail
• Have you ever looked at a data visualization and wondered, ‘how could that be?’ In the case of the following
data visualization, you can see that there is even a note added to the data point by someone asking for a check.
Something is clearly going on with this outlying data point.
• Drill-to-Detail is the process of going from an aggregated visualization to raw data for
exploration and discovery. The best way to do this is to have a destination view and a lot
of filtering capabilities so that the user can further explore data through self-service based
discovery.
• By clicking on the chart from above, we have implemented just what was described and
have taken the user to a new view and given the option to further explore data by filtering.
Drill-to-Detail
• It’s also
recommended
to parameterize
Drill-to-Detail
since there can
be a lot of raw
data and you
might as well at
least take the
user to the raw
data that
interests them,
rather than
giving them all
data as an
experience.
Drill-Across
• Good Dashboards can help users in both viewing insights
and taking actions based on those insights. More often then
not, the place where an action is being taken is another
software system like a CRM or an ERP. Your users might have
a chart showing summary data and might want to click on a
data point to go back to the source and make a change.