Need a special offer?Find out if your project fits.
+

TypeError: E.toFixed is not a function

Answered
Sengupta asked on September 19, 2017

Hi
 Our version is 2.323 (build 05/09/2017 13:34:44)
 Please find the attached word document for instruction and sample files to reproduce the error
 Please note that after the TypeError: E.toFixed is not a function the report becomes un-useable
 
 The attached zip file contains source code to replicate the issue.

Attachments:
temp.zip

3 answers

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 20, 2017

Hello, Sengupta,
Thank you for providing such detailed instructions and source code to replicate the issue. We have checked this example. The problem seems to be with your sampleReport1.json file. The calculated measure with "uniqueName": "...." contains "formula": "='......'", which is not really a formula. Please replace this code with a valid formula.
Let me know if everything works as expected.
Regards,
Tanya

Public
Sengupta September 20, 2017

@Tanya Gryshko
Hi Tanya,
I understand that it's not a proper formula but

  1. The flex (version 2.0) allowed our users to add such entries.
  2. If I add such entries in your JSFiddle version(2.3.x) [http://jsfiddle.net/flexmonster/2w3nd3fr/] it accepts and the resultant is exactly same as Version 2.0
Public
Tanya Gryshko Tanya Gryshko Flexmonster September 20, 2017

Hello, Sengupta,
Thank you for your quick response. I understand that in some versions it was possible to add such entries but that was not intentional. Such formulas make no sense. That is why we do not see the reason to support such functionality.
Please let me know in case of other questions.
Regards,
Tanya

Please login or Register to Submit Answer