Calculated formula with negitive values.

Resolved
kumar asked on November 16, 2016

Hi,
Component is not calculating the sign when dividing positive number with negative number.here is data:
[{"city":"Toronto","amount":22},{"city":"Los Angeles","amount":19},{"city":"Montreal","amount":-292}]
I have created the formula: percentofcolumn("amount"),  it is actually dividing the number with grand total but, it is showing all positive numbers. please look at the screenshot that I attached.
Thanks & Regards,
Sunilkumar.V

Attachments:
signerror.png

2 answers

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster November 17, 2016

Hi!
Thank you for reporting this. We will provide the necessary fix in the minor release 2.304 (ETA Dec 05)

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster December 6, 2016

Hello Kumar,
I would like to inform you that there is a fix ready for you in the latest minor release. You are welcome to update the component. Please see the steps of how to update the component here http://www.flexmonster.com/doc/updating-to-the-latest-version/.
We would be grateful for your feedback.
Best regards,
Dmytro.

Please login or Register to Submit Answer