finally, following the “what next” topic in KPI Tile, here the new “Repeatable KPI Tile” which is now Data Bound.
The original Post can be found here, Design Studio SDK: (Generic) Kpi Tile. Please check the initial post for general information, I do not want to repeat all here.
Second important post is here, Design Studio SDK: (Generic) Kpi Tile Functions for Complex Properties.
Now, the CHANGES.
In general, the number of KPIs equals to number of rows in the data source.
The KPIs will be placed in an dynamic layout with 2 properties which are deciding on the content size:
– content height
– number of rows
The real KPI size is calculated from the current size and number of rows.
How does look?
1. Assign Data Source
This component is now supporting data source assignment, so you have to assign some data source (see example below and in the application).
2. Make “binding” to dimension.
The next step is to create a property and use the new setting “Linked Dimension or Measure Key”. This one is required to get the connection to data from corresponding data source.
for some properties it is required to cast the data source to specific type, eg. for the micro charts it must be an integer, even if the data source is bringing double value as measure. Choose the correct cast – in other cases there will be no display.
Properties as Image
no big change to the standard KPI Tile in this part, but the “Content” has now the complex properties.
Binding on Data Source
here you can see the “Linked” property entry, it is string based w/o value help, the input must be the KEY of dimension or Measure (this example is on BYOD data source)
also, the cast property is visible, required to cast correctly especially for micro charts as those are expecting integers.
Download & Use
This component is available on the community package, release 3.0 for Design Studio 1.6, as in SCN Design Studio SDK Development Community
Example as BIAPP:
Component List – SCN Design Studio Community -> look for the component in the list.
feel free to add as usual…
if you have good ideas (to those who would like to contribute but cannot code…) – place an “issue” with tag “enhancement” under Issues · org-scn-design-studio-community/sdkpackage · GitHub