Dynamic captions

The column titles of our cross tab are simply the names that we chose for the User dimension members.

From Smartpad Properties we can make these titles dynamic, so that they will show the actual months and period represented by the individual columns.

mceclip0.png

We want to apply dynamic captions for the columns of the Period Comparison.

mceclip1.png

Initially you will see a small editable field containing {cellvalue}. This variable, if kept, will insert the original title of the comparison element as part of the column titles. Often you will want to delete {cellvalue} and instead create a new title that is based completely on dynamic content.

Having deleted {cellvalue}, we can now start building up the dynamic caption. We do this by selecting dynamic references from the Time dimension. From the hierarchy in the Time dimension we select Month and Year.

The selections are inserted as {Month:first} and {Year:first}. Also, remember to add a space between the two references.

mceclip2.png

Important: When building the dynamic caption it is important to add references from the same dimension (same attribute or same hierarchy) as the one that were used for creating the dynamic criteria.

 

When you click ”Apply”, you will see the dynamic captions in the crosstab. Furthermore, you can see that all four columns are now using the same common syntax. This is why we see “January” in the last two columns – because the current syntax is relatively simple: {Month:first} {Year:first}.

We will need to modify the dynamic captions for the last two columns to display not only in which month they are stating, but also in which month they are ending. To edit the dynamic caption for a single column, you must right-click the column header and the select Table / Dynamic captions / Edit…

mceclip3.png

When we insert Month and Year again as dynamic references, we must this time change the reference type to ”Last”.

mceclip4.png

When this has been done for the last two columns, our crosstab, with dynamic captions, should look something like this:

mceclip5.png

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.