Below is the list of functions that are available to use in our "custom story item" bullet: 

Average
Function syntax: Average(measure)
Description: The average value of the given measure.
MinLabel
Function syntax: MinLabel(measure)
Description: The name of the entity with the minimum value for the given measure.
MinValue
Function syntax: MinValue(measure)
Description: The minimum value for the given measure.
MaxLabel
Function syntax: MaxLabel(measure)
Description: The name of the entity with the maximum value for the given measure.
MaxValue
Function syntax: MaxValue(measure)
Description: The maximum value for the given measure.
Label
Function syntax: Label(measure)
Description: The label for the given measure.
Total
Function syntax: Total(measure)
Description: The sum total value for the given measure.
Range
Function syntax: Range(measure)
Description: The difference between the maximum and minimum values for the given measure.
StdDev
Function syntax: StdDev(measure)
Description: The standard deviation value for the given measure.
Median
Function syntax: Median(measure)
Description: The median value for the given measure.
StartingValue
Function syntax: StartingValue(measure)
Description: The value at the first period in the series for the given measure.
EndingValue
Function syntax: EndingValue(measure)
Description: The value at the last period in the series for the given measure.
StartingLabel
Function syntax: StartingLabel()
Description: The name of the first period in the series.
EndingLabel
Function syntax: EndingLabel()
Description: The name of the last period in the series.
StartToFinishDifference
Function syntax: StartToFinishDifference(measure)
Description: The difference between the values for the first and last periods in the given series.
StartToFinishPercentDifference
Function syntax: StartToFinishPercentDifference(measure)
Description: The percent difference between the values for the first and last periods in the given series.
LargestPositiveChangeStartingValue
Function syntax: LargestPositiveChangeStartingValue(measure)
Description: The starting value of the largest positive period-over-period difference in the given series.
LargestPositiveChangeStartingLabel
Function syntax: LargestPositiveChangeStartingLabel(measure)
Description: The name of the starting period for the largest positive period-over-period difference in the given series.
LargestPositiveChangeEndingValue
Function syntax: LargestPositiveChangeEndingValue(measure)
Description: The ending value of the largest positive period-over-period difference in the given series.
LargestPositiveChangeEndingLabel
Function syntax: LargestPositiveChangeEndingLabel(measure)
Description: The name of the ending period for the largest positive period-over-period difference in the given series.
LargestPositiveChangeDifference
Function syntax: LargestPositiveChangeDifference(measure)
Description: The value of the largest positive period-over-period difference in the given series.
LargestPositiveChangePercentDifference
Function syntax: LargestPositiveChangePercentDifference(measure)
Description: The percent change of the largest positive period-over-period difference in the given series.
LargestNegativeChangeStartingValue
Function syntax: LargestNegativeChangeStartingValue(measure)
Description: The starting value of the largest negative period-over-period difference in the given series.
LargestNegativeChangeStartingLabel
Function syntax: LargestNegativeChangeStartingLabel(measure)
Description: The name of the starting period for the largest negative period-over-period difference in the given series.
LargestNegativeChangeEndingValue
Function syntax: LargestNegativeChangeEndingValue(measure)
Description: The ending value of the largest negative period-over-period difference in the given series.
LargestNegativeChangeEndingLabel
Function syntax: LargestNegativeChangeEndingLabel(measure)
Description: The name of the ending period for the largest negative period-over-period difference in the given series.
LargestNegativeChangeDifference
Function syntax: LargestNegativeChangeDifference(measure)
Description: The value of the largest negative period-over-period difference in the given series.
LargestNegativeChangePercentDifference
Function syntax: LargestNegativeChangePercentDifference(measure)
Description: The percent change of the largest negative period-over-period difference in the given series.
LongestStreakStartingValue
Function syntax: LongestStreakStartingValue(measure)
Description: The starting value of the longest streak of consecutive increases or decreases for the given series.
LongestStreakStartingLabel
Function syntax: LongestStreakStartingLabel(measure)
Description: The name of the starting period for the longest streak of consecutive increases or decreases for the given series.
LongestStreakEndingValue
Function syntax: LongestStreakEndingValue(measure)
Description: The ending value of the longest streak of consecutive increases or decreases for the given series.
LongestStreakEndingLabel
Function syntax: LongestStreakEndingLabel(measure)
Description: The name of the ending period for the longest streak of consecutive increases or decreases for the given series.
LongestStreakDifference
Function syntax: LongestStreakDifference(measure)
Description: The difference over the longest streak of consecutive increases or decreases for the given series.
LongestStreakPercentDifference
Function syntax: LongestStreakPercentDifference(measure)
Description: The percent difference over the longest streak of consecutive increases or decreases for the given series.
LongestStreakLength
Function syntax: LongestStreakLength(measure)
Description: The largest number of periods of consecutive increase or decrease for the given series.
LongestStreakDirection
Function syntax: LongestStreakDirection(measure)
Description: The direction (positive or negative) of the longest streak of consecutive increases or decreases for the given series.
Value
Function syntax: Value(dimension, measure, dimension value)
Description: The metric value for a given dimension, measure, and dimension value.
Count
Function syntax: Count(dimension)
Description: The number of dimension values within a given dimension.
PeriodLabel
Function syntax: PeriodLabel(index)
Description: The name of the nth period in the series, starting at 1.
PeriodValue
Function syntax: PeriodValue(measure, index)
Description: The value of the given measure at the nth period in the series, starting at 1.
SortDescendingValue
Function syntax: SortDescendingValue(measure, rank)
Description: The value of the given measure sorted in descending order at the given rank (starting at 1).
SortDescendingLabel
Function syntax: SortDescendingLabel(measure, rank)
Description: The entity name of the given measure sorted in descending order at the given rank (starting at 1).
SortAscendingValue
Function syntax: SortAscendingValue(measure, rank)
Description: The value of the given measure sorted in ascending order at the given rank (starting at 1).
SortAscendingLabel
Function syntax: SortAscendingLabel(measure, rank)
Description: The entity name of the given measure sorted in descending order at the given rank (starting at 1).