[Lens] Updates the Average and Count quick function definitions (#143872)

* Updates Edit data view link copy

* [Lens] Updates the Average and Count quick function definitions

* Reverts Stack Management change

* Removes spacing from Count definition
This commit is contained in:
Kaarina Tungseth 2022-10-25 09:18:43 -05:00 committed by GitHub
parent c753d28067
commit 2cb04a6ac5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -235,7 +235,7 @@ export const countOperation: OperationDefinition<CountIndexPatternColumn, 'field
}),
description: i18n.translate('xpack.lens.indexPattern.count.documentation.markdown', {
defaultMessage: `
The total number of documents. When you provide a field as the first argument, the total number of field values is counted. Use the count function for fields that have multiple values in a single document.
The total number of documents. When you provide a field, the total number of field values is counted. When you use the Count function for fields that have multiple values in a single document, all values are counted.
#### Examples
@ -249,7 +249,7 @@ To calculate the number of documents that match a specific filter, use \`count(k
},
quickFunctionDocumentation: i18n.translate('xpack.lens.indexPattern.count.documentation.quick', {
defaultMessage: `
The total number of documents. When you provide a field, the total number of field values is counted. Use the count function for fields that have multiple values in a single document.
The total number of documents. When you provide a field, the total number of field values is counted. When you use the Count function for fields that have multiple values in a single document, all values are counted.
`,
}),
shiftable: true,

View file

@ -318,7 +318,7 @@ export const averageOperation = buildMetricOperation<AvgIndexPatternColumn>({
quickFunctionDocumentation: i18n.translate(
'xpack.lens.indexPattern.avg.quickFunctionDescription',
{
defaultMessage: 'The average value of a number field.',
defaultMessage: 'The mean value of a set of number fields.',
}
),
});