An ability to create links to other reports is important for transforming static data views into a dynamic, intuitive, and efficient analytical experience. This feature, often called "drill-through" or "report linking", addresses several key business intelligence needs:
You can create a HTML formatted dimension to link values in flat tables (where dimensions are used as columns) or linked headers in pivot tables:
Expression
linked_dim
(specify any meaningful name)Html.Link( "/report/ANOTHER_REPORT_ID?cfg="+Html.UrlEncode( Json.Serialize( {"Parameters": {"PARAM1": Dimension["ARG_DIM1"], "PARAM2": Dimension["ARG_DIM2"] } } ) ), "Details", true)Then add one or more dimension names that you need to use in your link:
ARG_DIM1
ARG_DIM2
ANOTHER_REPORT_ID
is an ID of the target report (this value is present in the report's URL).PARAM1
and PARAM2
are names of the parameters to set in the target report.ARG_DIM1
and ARG_DIM2
are names of the dimensions which value should be used as arguments."Details"
is a linked text. This can be a dynamic value, for instance Dimension["ARG_DIM1"]
.true
opens the link in a new tab.Note: when you use this dimension in a pivot table, the underlying data is grouped by all the dimensions you include as arguments.