I would like to add a column in a Milestone Collector that calculates the duration between the Start and Finish times, which are in separate columns. Please let me know what I should try to use in the Value field. Thanks in advance for your help.
I would like to add a column in a Milestone Collector that calculates the duration between the Start and Finish times, which are in separate columns. Please let me know what I should try to use in the Value field. Thanks in advance for your help.
Hi John,
If you can live with the duration column in a different table, you could use a Calculated Table to subtract the two columns. That has the advantage of using SQL to aggregate/filter/group etc.
Another option would be to use a second statistics collector to listen to the first collector. You can set it up so that when the milestone collector writes the second milestone time, you can calculate the difference between the first and second milestone times, and record that in a table. That has the advantage of having a table built incrementally, instead of all at once like a calculated table. If I had to guess, I'd say that this is the option for you, even though it will create a second table.
If you want the same table to have both time stamps and durations, then you'll need to create your own statistics collector. A milestone collector is a statistics collector with a strict/specific UI. There is no functional difference between the two.
Thanks @jordan.johnson. I used calculated tables for this and got what I needed. Being able to directly write the SQL code helps.
Thanks
14 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved