Returns the base-ten logarithm of the given numeric value.
This function returns a number.
Syntax and Details
FeedbackOpens in a new tab
numeric_expression is an expression that evaluates to a number.
Typically, this expression has the form [MEASURES].[measure_name]
The first example shows the base-ten logarithm for the %COUNT measure:
SELECT LOG(MEASURES.[%COUNT]) ON 0 FROM patients LOG 4
The next example uses the %LABEL function to apply a more detailed caption:
SELECT %LABEL(LOG(MEASURES.[%COUNT]),"LOG PAT CNT") ON 0 FROM patients LOG PAT CNT 4