Newer Version Available

This content describes an older version of this product. View Latest

Change the Label for the Row Count Measure

When you add a row count measure, it appears as “Count of Rows” by default. You can change this label to whatever you want.

Here’s the default label.The default label for a count measure is "Count of Rows."

You can specify a new label in the derivedMeasures section of the XMD. Because you’re counting rows and not a particular field, use * as the field name.
1"derivedMeasures": [{
2  "field": "*",
3  "label": "Data Points"
4}],

This change yields the following results.The new label for a count measure is Count of Data Points.