Hi,
we’re getting a crash in Flexmonster 2.9.133 when a report uses runningtotalsofcolumn. It happens both in a calculated value (formula runningtotalsofcolumn("Field")) and in a conditional format (formula runningtotalsofcolumn("Field") > 0). The grid stops rendering and the console shows:
Uncaught TypeError: Cannot read properties of null (reading '0')
With percentofcolumn it works fine, the problem is only with the running totals. I tried to look at it a bit and it looks like the column part is null when the running total is calculated, but I’m not sure.
Could you check whether this is a known issue, and whether there’s a fix or a workaround? We can send a sample report if needed.
Thanks
Hello,
Thank you for reporting this issue.
We were able to reproduce the issue when runningtotalsofcolumn is used in a conditional formatting formula, for example runningtotalsofcolumn("Field") > 0. In this case, the grid stops rendering with the same TypeError. Our team will research the issue and provide you with an update by November 16th.
As for the calculated value, we were unable to reproduce the issue on our end. A measure with the runningtotalsofcolumn("Field") formula renders correctly and returns the expected cumulative values. Could you please send us a sample reproducing this error with the calculated value?
Looking forward to hearing from you.
Best regards,
Maksym