I am using a measure field in my custom visual and want to display its aggregated value. However, when inspecting the dataview object, I noticed that the aggregates are always minLocal and maxLocal, and the queryName is always set to "Sum(...)" even when the user has selected a different aggregation type like average.
Here's a screenshot of the dataview object for reference:
Here is measure from capabilities.json file:
and I want to display the aggregated value of the measure in my visual. But in the dataview, the aggregates are always minLocal and maxLocal. even the queryName is always Sum(..., even if I select average:
I want to know if there's a way to programmatically determine the aggregation value for the measure field without relying on assumptions based on the displayName.
The issue isn't related to the Tools package. Feel free to contact pbicvsupport@microsoft.com with questions related to the development of custom visuals
I am using a measure field in my custom visual and want to display its aggregated value. However, when inspecting the dataview object, I noticed that the aggregates are always minLocal and maxLocal, and the queryName is always set to "Sum(...)" even when the user has selected a different aggregation type like average. Here's a screenshot of the dataview object for reference: Here is measure from capabilities.json file:
and I want to display the aggregated value of the measure in my visual. But in the dataview, the aggregates are always minLocal and maxLocal. even the queryName is always
Sum(
..., even if I select average:I want to know if there's a way to programmatically determine the aggregation value for the measure field without relying on assumptions based on the displayName.