Stamp Configuration
DiveTab 7.1(25) includes the following features:
-
quarter-to-date time-range-tag
-
previous text-comparison-tag, which deprecates previous-day
-
versus aux measure stamps
-
additional customization of the stamp and stamp analysis page
DiveTab 7.1(21) includes the following features:
-
Supporting other factory calendars
-
Making difference and percent-difference numbers optional
-
Introducing total and chart stamps
-
Adding an optional update-time timestamp to stamps
-
Linking external central pages
Text Stamps
The following example shows the DiveTab 7.1(25) and later grammar for text stamps, including additions of the complete type, quarter-to-date time-range-tag, and the previous text-comparison-tag.
stamp "MTD vs Prev Complete Month" {
text {
month-to-date
previous type = "complete" {
difference
percent-difference
}
}
}
stamp "MTD vs Last Year MTD" {
text {
month-to-date {
label "Current" {
column-title "Current Month"
}
}
previous-year {
label "LY Month" {
column-title "Last Year Month"
}
}
}
}
stamp "YTD vs Last Year to Complete Month" {
text {
month-to-date {
label "Current" {
column-title "Current Year"
}
}
previous-year type = "month-end" {
difference {
label "Delta" {
column-title "+/-"
}
}
label "LY to Month" {
column-title "LY to Complete Month"
}
}
}
}
stamp "QTD vs Prev QTD" {
text {
quarter-to-date {
label "Current" {
column-title "Current Quarter"
}
}
previous {
difference {
label "Delta" {
column-title "+/-"
}
}
percent-difference {
label "%Delta" {
column-title "% +/-"
}
}
label "Prev QTD" {
column-title "Prior QTD"
}
}
}
}
stamp "R3-to-Date vs LY Complete R3" label = "VS LY Complete R3" {
text {
quarter-to-date {
label "Current" {
column-title "Current R3--to-Date"
}
}
previous-year type = "complete" {
difference {
label "Delta" {
column-title "+/-"
}
}
percent-difference {
label "%Delta" {
column-title "% +/-"
}
}
label "LY R3" {
column-title "LY Complete R3"
}
}
label "R3-to-Date vs LY Complete R3"
}
}
The following example is the DiveTab 7.1(21) through 7.1(24) grammar for text stamps.
stamp "YTD vs Prev Year to Date" {
text {
year-to-dateprevious-year {
differencepercent-difference
}
}
}
stamp "Today vs Same Day Last Year" label = "Today" {
text {
calendar "standard" // optional, "standard" is the defaultcurrent-dayprevious-year {
difference
}
}
}
stamp "R6-to-Date vs Last Year R6-to-Date" {
text {
rolling-months 6previous-year
}
}
stamp "MTD vs Last Year Month End" {
text {
month-to-dateprevious-year type = "month-end" {
percent-difference
}
}
}
stamp "YTD vs Prev Year to Complete Month" {
text {
year-to-dateprevious-year type = "month-end" {
differencepercent-difference
}
}
}
stamp "YTD vs LY YTD vs Prev Year to Date v1"calendar = "standard"range = "year-to-date"previous = "previous-year" stamp "Today vs LY TDY SD vs Same Day Last Year v1"calendar = "standard"range = "current-day"previous = "previous-year"label = "Today" stamp "R6-to-Date vs Last Year R6-to-Date v1"calendar = "standard"range = "rolling 6"previous = "previous-year" stamp "MTD vs Last Year Month End v1"calendar = "month-end"range = "month-to-date"previous = "previous-year" stamp "YTD vs Prev Year to Complete Month v1"calendar = "month-end"range = "year-to-date"previous = "previous-year"
Stamps with Non-default Calendars
Here are examples of stamps using the fiscal calendar as defined in Measure Factory in DiveTab 7.1(21) and later.
stamp "YTD vs Prev Year to Date" {
text {
calendar "Fiscal"
year-to-date
previous-year {
difference
percent-difference
}
}
}
stamp "R12-to-Date vs Last Year R12-to-Date" {
text {
calendar "Fiscal"
rolling-months 12
previous-year {
difference
}
}
}
Versus Aux Measure Stamps
Here are examples of versus aux measure stamps. The aux-measure must be defined in the Measure Factory script.
stamp "VS Total" {
text {
current-day
versus aux-measure = "Total" {
percent-of-target
}
}
}
stamp "VS Budget" {
text {
month-to-date
versus aux-measure = "Sample Budget" {
difference
percent-of-target
}
}
}
stamp "VS Goal" {
text {
rolling-months 6
versus aux-measure = "Goal"
}
}
NOTE: In DiveTab 7.1(21) to 7.1(24) this stamp is known as a total stamp,
depicted below. This newer version allows for more measure versus auxiliary measure comparisons. Versus aux measure stamps are still capable of a total comparison if there is a Total aux-measure located in your Measure Factory project.
Chart Stamps
Here are examples of bar chart and line chart stamps.
stamp R12-to-Date vs Last Year R12-to-Date" label = "Bar Chart R12" {
bar-chart {
rolling-months 12
previous-year
}
}
stamp "Last Year vs Last Year R12-to-Date" label = "Line Chart R12" {
line-chart {
rolling-months 12
previous-year {
percent-difference
difference
}
}
}
stamp "YTD" label = "Bar Chart YTD" {
bar-chart {
year-to-date
}
}
stamp "YTD vs Prev YTD" label = "Line Chart YTD" {
line-chart {
year-to-date
previous-year {
difference
}
}
}
NOTE: The chart stamps can only use the year-to-date and rolling-months 12 time-range-tag values. The text-comparison-tag and additional comparison values are optional for chart stamps. The middle text label is not available for the charts