Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

devhackeronebsa's avatar

How to calculate and deduce the sum of values from the dynamic number of resource columns?

Tell me, please, how to calculate and deduce the sum of the values from the dynamic number of resource columns? https://ibb.co/WvfZkRd

0 likes
3 replies
bugsysha's avatar

If they are dynamic just reuse same logic to recalculate them and then sum them up. If it is an array you can use array_sum.

devhackeronebsa's avatar

How to output values ​​in a custom card? The main problem is the output of the amount in a separate component

devhackeronebsa's avatar

v2.10.0

ORION

Released February 4, 2020

Decoding filters values from the UI has been extracted to a helper class to enable use in calculating metrics and custom tools. #783

How use?

Please or to participate in this conversation.