Platform

Platform

 View Only

Use "Show full data path ..." 

Fri February 08, 2019 12:35 PM

 

♦ Applies to: Apptio TBM Studio R12.x 

 

In this article:

Introduction

This document describes how to view the "data path" of Apptio reporting elements (for example tables, graphs, and KPIs). The data path of a component describes what tables are being used and how. This can be very useful for determining the source of problems with configuration, or even problems with performance of a component.

You can view the data path in production reports without having to be in TBM Studio, and you can do it before a table has fully loaded.  This is handy when debugging performance issues. If a table on a report is taking a long time to load you may be able to determine why, or at least where the source of the problem might be, by examining the model tables the report table is using.

Accessing Show Full Data Path

Accessing Show Full Data Path depends on the type of element as follows.

 

Tables

If a table has a drop-down configured, you can use that to access Show Full Data Path as shown here.

 

Click on the drop-down...

dan1.png

...and select Show Full Data Path.

dan2.png

If a table does not have drop-down configured, you can still access Show Full Data Path by right-clicking on one of the regions highlighted in yellow in the following screen shot.

Right click on one of the regions highlighted in yellow...

dan3.png

...and select Show Full Data Path.

dan4.png

Charts

On charts you simply right-click anywhere on the chart and select Show Full Data Path.

dan5.png

 

KPIs

Similar to charts, right-click anywhere on a KPI and select Show Full Data Path.

dan6.png

 

Reading a Data Path

This section describes how to interpret the data path and provides a few dissections.

 

All datapaths follow the same basic structure:

          <Domain Name>:<Project Name>/
          <A combination of Folders and Date/Time Specifications>/
          <Report view names>/
          <Table functions (They can only go here sometimes)>/
          <Table name>/
          <Table Functions>/

 

The “/” indicates the end of a line. The data path is theoretically smart enough to detect the end of a line based on context, but to be safe, include the slashes.


Here is an annotated example:

Data Path Code Description/ Comments
templates.apptio.com:Canonical/

The domain name is "templates.apptio.com.

The project name is "Canonical".

Reports/ Top level folder in the project.
.DateGoesHere/ Inserts the currently selected time period.
CostModels/ Indicates the component is in a cost model.
Default/ Indicates the component is in the Default cost model.
Storage/ Indicates the name of the object in the model.
.View:Compare Cost to Budget/ Report view name.
.Summary/

Name of the table containing the data used to generate the component. In this example, .Summary is a table name. .Summary is the table most report components analyze. Other common tables are .Drivers and .LineItems. There are other tables in the product as well. For information on these tables, look up Hidden Apptio tables.

!NEWCOLUMN[YTD Percent Over Budget=0-{YTD Percent Budget Variance}]/ Table function that creates a new column. Table functions always begin with the ! character.

 

Dissection 1: A table with ad-hoc filters

Note that while the following image is in edit mode, the data path can be obtained without being in edit mode. In the image on the left you can see that the table has a filter applied in the ad-hoc configuration. On the right you see the complete data path for this element. With the datapath you can:

  • See any configuration you could see with the ad-hoc dialog in edit mode.
  • Determine the object on which a report component is based without having to be in edit mode.
  • See any filters being applied including ones that are part of the ad-hoc configuration and thus not visible on the reporting surface.
  • See all formulas being used to arrive at numbers in the report.

 

This allows you to asses how numbers in reporting are being arrived at in staging and production environments without edit mode.

another.png

 

Dissection 2: A table with a custom icon column

In the image on the left you can see the table filtered to records with Cost < 500000.  On the right you see the complete data path for this element. Note that similar to the last dissection you can see all formulas being used to arrive at numbers in the report are shown including the logic for the Period Over Period Trend icon column and the Current FY Plan Variance Trend sparkline. Therefore, if trend arrow icons were suspect you could use the online help on the Icon() function in conjunction with the values specified to help validate the arrow integrity.

 

You can also see all filters being applied including the Employee Type slicer selection of “External Labor” and the “<500000” in the auto search filter. This allows you to assess whether there are filters being applied which aren’t obvious and what logic or calculations are being applied in the reporting surface.

dino.png

 

Dissection 3: A table doing a drill through the model 

In the image on the left you can see a table which describes cost by cost pool for any given service. This is a .DrillTo table. You can observe the objects being drilled between, the fact that it is a .DrillTo report, and the metric being used.  This can be significant in that a .DrillTo implies more calculation time than a simple .Summary table as in the last example.

dino2.png

 

star.png

 

Dissection 4: A table which is “calculating …” and is crafted in a way that may be inefficient 

In the image on the left you can see a table which describes cost by cost pool for any given service similar to the last dissection. One of the key things to note here is that the data path is available even before the table is fully loaded. This allows you to assess an element that may not be performing well while it is still loading. The top object in the drill is Business Services and the bottom object is Cost Source. However, the slicer on the right is filtering by IT Resource Tower Name which creates a 3 object drill which can be very expensive in terms of calculation time. In addition, the table is configured to show both Cost and Budget metrics so the drill is occurring through both models. Depending on the configuration of the models involved this can be a VERY expensive report to calculate.

ugh.png

 

ugh2.png

 

  This article is open for your feedback. At the bottom of this page, click Add a comment.


#TBMStudio

Statistics
0 Favorited
12 Views
0 Files
0 Shares
0 Downloads

Comments

Thu May 07, 2020 10:27 AM

Hi @Vojtech Klimek, I looked into this and it appears to be a known issue that surfaced recently.  Please submit a support case so that they can tie your experience to others.  That will also allow Support to track resolution of the issue in your environment.

 

Until a fix is available you can use the method you described in your original post (adding a column to the reporting table and formatting it directly there).

 

Sorry for the inconvenience.  


#TBMStudio

Thu May 07, 2020 10:08 AM

Mon May 04, 2020 05:28 AM

Yes, I am aware of these options. The problem is that I set format to percentage in metric (called "Variance_Test"), but when I use the metric in Report, it is shown as currency. And when I see full data path, it shows the metric was formatted: 


#TBMStudio

Thu April 30, 2020 10:39 AM

Hi Vojtech,

   If the metric is a calculated or modeled metric then you may want to change the format of the metric itself.  That can be done in the "Table Format:" field of the metric using the NumberFormat function:

 

This is also covered to a degree in the Create and manage metrics  document.

 

If this is a column created in a report table, then you can use the formatting for the column as described in the Add a formula column to a table document.  I created a comment with a screen shot in that doc.


#TBMStudio

Thu April 30, 2020 04:42 AM

Hi @Dan Kelly

 

is possible to edit data path for a table? I want to use a metric which is configured as percentage, but report converts it to currency: 

!NEWCOLUMN[{YoY Relative Variance ACT or FC}=YoY Relative Variance ACT or FC][=Currency("cs_CZ",$_)][numeric,replace:.locale=cs_CZ]/

 

I would like to discard it somehow.


#TBMStudio