Hi,
I want to multiply 2 columns of a table. I know how to do it, but I would like to know if there are simpler ways.
1. In the attached Model, I wanted multiply "Tiempo" * "Consumo" in the column "Total" in the GlobalTable1. So, I created a tracked variable that stores the value of that multiplication and enter that tracked variable in the table. It works
2. I know that it is possible with a process flow with a code editor but for it to do the opeation it would always have to create an infinite token loop, right? That would not cause problems?
3. I have followed that was said here https://answers.flexsim.com/questions/36805/multiply-two-tables.html
and I have tried to do it so it makes me the same multiplication that I explained before but in the GlobalTable2. The problem is that it only does it at the beginning. Is there a way to do it from here that the multiplication is done constantly?
If there is a more effective way to do it, glad to read you.
Thanks.