Need API for calculating values based on aggregation

Closed
Vignesh Punniamoorthy asked on June 4, 2024

I need to aggregate the values based on the function like (SUM, COUNT, DISTINCTCOUNT).

Is there any API exposing this functions so that we can send array of numbers to perform the calculation.

 

pivotRef.calculate([20,40], "sum") returns 60.

 

 

 

1 answer

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster June 5, 2024

Hello,

Thank you for reaching out to us.

Please note that Flexmonster does not provide the described functions. However, we suggest using JavaScript utility libraries, such as Lodash.

We hope it helps. You are welcome to contact us if other questions arise.

Kind regards,
Nadia

This question is now closed