This article provides a sample script on how to read the category i.e., KPI tile title when clicked on a tile of a KPIChart visualization. This script should be exeuted in the Action Control context of the KPI visualization.
Introduction
This article provides a sample script on how to read the category i.e., KPI tile title when clicked on a tile of a KPIChart visualization. This script should be exeuted in the Action Control context of the KPI visualization.
Code Sample
# Copyright © 2019. TIBCO Software Inc. Licensed under TIBCO BSD-style license. v = Context.Value Document.Properties["MyKPIValue"]=str(v) cv= Context.ComparativeValue Document.Properties["MyKPICompValue"]=str(cv) hv=Context.HierarchyPathValues[0] Document.Properties["Category"]=str(hv)
References
License: TIBCO BSD-Style License
Recommended Comments
There are no comments to display.