extensions-api icon indicating copy to clipboard operation
extensions-api copied to clipboard

measure fieldNames contains undesirable values

Open merlijnbuit opened this issue 6 years ago • 2 comments

Hi,

Don't know if this is already mentioned here but it would be really helpful to retrieve the column name without any aggregation around. We have to remove the AGG( ) or SUM( ) from the fieldNames currently with some regex. But it would be nice to just have the name of the column to reduce code complexity and possible mistakes with different languages.

Current: fieldName: AGG(Profit Ratio)

Desirable: fieldName: Profit Ratio aggType: AGG

image

merlijnbuit avatar Jun 25 '19 13:06 merlijnbuit

Yep this makes sense. We are going to look into adding the ability to reference fields, filters, etc. by id. I think this would fit into that rethinking of how we refer to objects.

Kovner avatar Jun 25 '19 23:06 Kovner

@merlijnbuit - Has our work adding fieldId to column solved this issue, or are there additional holes? John

johnDance avatar Dec 29 '22 01:12 johnDance