cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMPĀ® Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-684974%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EOptimizing%20a%20column%20formula%20for%20standardizing%20time%20resolved%20data%20to%20100%25%20rel.%20at%20t%3D0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-684974%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EI%20have%20received%20the%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FDiscussions%2FJMP-is-Not-a-Spreadsheet%2Fm-p%2F333281%2Fhighlight%2Ftrue%23M58137%22%20target%3D%22_blank%22%3Eformula%20I%20want%20to%20discuss%3C%2FA%3E%26nbsp%3Balmost%203%20years%20ago%20from%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F2687%22%20target%3D%22_blank%22%3E%40txnelson%3C%2FA%3E%2C%20never%20let%20go%20of%20it%20since%20and%20thought%20about%20it%20many%20times%20before%20now%2C%20slowly%20coming%20somewhat%20more%20seriously%20to%20grips%20with%20scripting.%20In%20the%20meantime%2C%20the%20formula%20as%20saved%20me%20%3CSTRONG%3Ea%20lot%3C%2FSTRONG%3E%20of%20time.%3C%2FP%3E%3CP%3EIn%20the%20example%20below%2C%20the%20same%20formula%20is%20added%203%20times%2C%20each%20time%20with%20a%20little%20bit%20of%20variation.%20The%20issue%20I%20want%20to%20discuss%20are%20the%20different%20error%20messages%20thrown%20when%20copying%20and%20running%20the%20table%20script%20of%20the%20table%20including%20the%20newly%20added%20formula%20columns.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0A%0A%2F%2F%20first%2C%20we%20need%20an%20example%20table%0Adt%20%3D%20New%20Table(%20%22ExampleTable%22%2C%0A%20Add%20Rows(%2024%20)%2C%0A%20New%20Column(%20%22BatchId%22%2C%0A%20%20Character%2C%0A%20%20%22Nominal%22%2C%0A%20%20Set%20Values(%0A%20%20%20%7B%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22B%22%2C%20%22B%22%2C%20%22B%22%2C%20%22C%22%2C%20%22C%22%2C%20%22C%22%2C%20%22D%22%2C%20%22D%22%2C%0A%20%20%20%22D%22%2C%20%22E%22%2C%20%22E%22%2C%20%22E%22%2C%20%22F%22%2C%20%22F%22%2C%20%22F%22%2C%20%22G%22%2C%20%22G%22%2C%20%22G%22%7D%0A%20%20)%0A%20)%2C%0A%20New%20Column(%20%22StorageCondition%22%2C%0A%20%20Character%2C%0A%20%20%22Nominal%22%2C%0A%20%20Set%20Values(%0A%20%20%20%7B%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%20%225%C2%B0C%22%2C%20%225%C2%B0C%22%2C%20%225%C2%B0C%22%2C%0A%20%20%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%0A%20%20%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%0A%20%20%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%0A%20%20%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%2C%20%2225%C2%B0C%2F60%25RH%22%7D%0A%20%20)%0A%20)%2C%0A%20New%20Column(%20%22Time%22%2C%0A%20%20Numeric%2C%0A%20%20%22Continuous%22%2C%0A%20%20Format(%20%22Best%22%2C%2012%20)%2C%0A%20%20Set%20Values(%0A%20%20%20%5B0%2C%201%2C%202%2C%200%2C%201%2C%202%2C%200%2C%201%2C%202%2C%200%2C%201%2C%202%2C%200%2C%201%2C%202%2C%200%2C%201%2C%202%2C%200%2C%201%2C%202%2C%200%2C%201%2C%202%5D%0A%20%20)%0A%20)%2C%0A%20New%20Column(%20%22QcParameter%22%2C%0A%20%20Numeric%2C%0A%20%20%22Continuous%22%2C%0A%20%20Format(%20%22Best%22%2C%2012%20)%2C%0A%20%20Set%20Values(%0A%20%20%20%5B0.2%2C%200.3%2C%200.4%2C%200.2%2C%200.21%2C%200.22%2C%200.3%2C%200.9%2C%201.2%2C%20.%2C%200.2%2C%200.4%2C%200.1%2C%20.%2C%200.1%2C%0A%20%20%200%2C%200%2C%200%2C%200.1%2C%200%2C%200%2C%200%2C%200.1%2C%200%5D%0A%20%20)%0A%20)%0A)%3B%0A%0A%0A%2F%2F%20adding%20formula%20column%20via%20approach%20nr.%201%3CBR%20%2F%3E%2F%2F%20this%20adds%20the%20formula%20alright%2C%20but%20when%20copying%20and%20executing%20the%20resulting%20table%20script%20will%20leave%20the%20formula%20column%20empty%3CBR%20%2F%3E%2F%2F%20no%20need%20to%20discuss%20this%2C%20because%20this%20obviously%20missing%20the%20'eval(eval%20expr(expr()))'%20wrapping%20(see%20screenshot%20below)%0Adt%20%26lt%3B%26lt%3B%20New%20Column(%20%22QcParameter%20%5B%25%20rel.%5D_1%22%2C%0A%20numeric%2C%0A%20formula(%0A%20%20curBatch%20%3D%20%3ABatchId%3B%0A%20%20curCondition%20%3D%20%3AStorageCondition%3B%0A%20%20theRows%20%3D%20dt%20%26lt%3B%26lt%3B%20get%20rows%20where(%0A%20%20%20%3ABatchId%20%3D%3D%20curBatch%20%26amp%3B%20%3AStorageCondition%20%3D%3D%20curCondition%20%26amp%3B%20%3ATime%20%3D%3D%200%0A%20%20)%3B%0A%20%20d0Row%20%3D%20theRows%5B1%5D%3B%0A%20%20d0Time%20%3D%20%3AQcParameter%5Bd0Row%5D%3B%0A%20%20(100%20*%20%3AQcParameter%20%2F%20d0Time)%3B%0A%20)%0A)%3B%0A%0A%0A%2F%2F%20adding%20formula%20column%20via%20approach%20nr.%202%3CBR%20%2F%3E%2F%2F%20this%20will%20fill%20the%20formula%20column%20as%20desired%20when%20copying%20and%20running%20the%20table%20script%20with%20the%20added%20formula%20columns%3CBR%20%2F%3E%2F%2F%20but%20it%20will%20also%20throw%20an%20error%20message%20when%20new%20rows%20are%20added%20to%20the%20table%20then%20(see%20screenshot%20below)%0AEval(%0A%20Eval%20Expr(%0A%20%20dt%20%26lt%3B%26lt%3B%20New%20Column(%20%22QcParameter%20%5B%25%20rel.%5D_2%22%2C%0A%20%20%20numeric%2C%0A%20%20%20formula(%0A%20%20%20%20curBatch%20%3D%20%3ABatchId%3B%0A%20%20%20%20curCondition%20%3D%20%3AStorageCondition%3B%0A%20%20%20%20theRows%20%3D%20Expr(%20dt%20)%20%26lt%3B%26lt%3B%20get%20rows%20where(%0A%20%20%20%20%20%3ABatchId%20%3D%3D%20curBatch%20%26amp%3B%20%3AStorageCondition%20%3D%3D%20curCondition%20%26amp%3B%20%3ATime%20%3D%3D%200%0A%20%20%20%20)%3B%0A%20%20%20%20d0Row%20%3D%20theRows%5B1%5D%3B%20%2F%2F%20removed%20from%20approach%20nr.%203%0A%20%20%20%20d0Time%20%3D%20%3AQcParameter%5Bd0Row%5D%3B%0A%20%20%20%20(100%20*%20%3AQcParameter%20%2F%20d0Time)%3B%0A%20%20%20)%0A%20%20)%0A%20)%0A)%3B%0A%0A%0A%2F%2F%20adding%20formula%20column%20via%20approach%20nr.%203%0A%2F%2F%20this%20will%20fill%20the%20formula%20column%20as%20desired%20when%20copying%20and%20running%20the%20table%20script%20with%20the%20added%20formula%20columns%3CBR%20%2F%3E%2F%2F%20and%20it%20will%20NOT%20throw%20an%20error%20message%20when%20new%20rows%20are%20added%20to%20the%20table%20then%20(see%20screenshot%20below)%0AEval(%0A%20Eval%20Expr(%0A%20%20dt%20%26lt%3B%26lt%3B%20New%20Column(%20%22QcParameter%20%5B%25%20rel.%5D_3%22%2C%0A%20%20%20numeric%2C%0A%20%20%20formula(%0A%20%20%20%20curBatch%20%3D%20%3ABatchId%3B%0A%20%20%20%20curCondition%20%3D%20%3AStorageCondition%3B%0A%20%20%20%20theRows%20%3D%20Expr(%20dt%20)%20%26lt%3B%26lt%3B%20get%20rows%20where(%0A%20%20%20%20%20%3ABatchId%20%3D%3D%20curBatch%20%26amp%3B%20%3AStorageCondition%20%3D%3D%20curCondition%20%26amp%3B%20%3ATime%20%3D%3D%200%0A%20%20%20%20)%3B%0A%20%20%20%20d0Time%20%3D%20%3AQcParameter%5BtheRows%5D%3B%0A%20%20%20%20(100%20*%20%3AQcParameter)%20%2F%20d0Time%3B%0A%20%20%20)%0A%20%20)%0A%20)%0A)%3B%0A%0A%0A%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EScreenshot%20of%20error%20message%20for%20formula%20column%20%22QcParameter%20%5B%25r%20rel.%5D_1%5D%22%20when%20rerunning%20table%20script%20with%20additional%20formula%20columns%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_0-1696856397171.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F57301iEAF0330B30A2C951%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Ressel_0-1696856397171.png%22%20alt%3D%22Ressel_0-1696856397171.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EScreenshot%20of%20error%20message%20for%20formula%20column%20%22QcParameter%20%5B%25r%20rel.%5D_2%5D%22%20when%20rerunning%20table%20script%20with%20additional%20formula%20columns%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_1-1696856568605.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F57302iC9E8087A636A19B4%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Ressel_1-1696856568605.png%22%20alt%3D%22Ressel_1-1696856568605.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EScreenshot%20of%20error%20message%20for%20formula%20column%20%22QcParameter%20%5B%25r%20rel.%5D_3%5D%22%20when%20rerunning%20table%20script%20with%20additional%20formula%20columns%3A%3C%2FSTRONG%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_2-1696856674488.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F57303i65BD2D7072DF76EA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Ressel_2-1696856674488.png%22%20alt%3D%22Ressel_2-1696856674488.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20reason%20why%20I%20am%20asking%20this%20lengthy%20question%20is%20that%20I%20assume%20%3CSTRONG%3Ethere%20must%20be%20some%20reason%20why%20variable%20%22d0Row%22%20is%20used%20in%20approach%20nr.%202%2C%20no%3F%3C%2FSTRONG%3E%26nbsp%3BFor%20approach%20nr.%203%20I%20have%20simply%20deleted%20this%20variable%20(see%20screenshot%20below)%20and%20the%20formula%20behaves%20%22much%20more%20nicely%22%20as%20a%20result%2C%20i.e.%2C%20there%20is%20no%20error%20message%20when%20new%20rows%20are%20added%20ad-hoc%20by%20point%20%26amp%3B%20click%20to%20the%20data%20table.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ressel_3-1696856846545.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F57304i31B1717124F3C995%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Ressel_3-1696856846545.png%22%20alt%3D%22Ressel_3-1696856846545.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EMy%20question%20is%20therefore%2C%20if%20I%20am%20doing%20something%20wrong%20by%20deleting%20the%20%22d0Row%22%20variable.%20In%20real%20life%20I%20am%20working%20with%20larger%20data%20tables%20and%20won't%20be%20able%20to%20check%20each%20row%20individually%20for%20its%20accuracy.%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-684974%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3EAutomation%20and%20Scripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-684995%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Optimizing%20a%20column%20formula%20for%20standardizing%20time%20resolved%20data%20to%20100%25%20rel.%20at%20t%3D0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-684995%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EI%20am%20not%20completely%20sure%20I%20am%20following%20your%20issue%2C%20but%20what%20I%20am%20seeing%20is%20that%20your%20reference%20to%20dt%20is%20when%20you%20copy%20formula%201%2C%20the%20reference%20to%20dt%20is%20missing.%26nbsp%3B%20In%20example%202%20and%203%2C%20you%20end%20up%20with%20the%20data%20table%20reference%20pointing%20to%20data%20table%20%22ExampleTable%22%2C%20and%20your%20data%20table%20name%2C%20as%20shown%2C%20is%20%22Example%20Table%202%22.%26nbsp%3B%20Again%2C%20if%20I%20am%20understanding%20your%20issue%2CI%20think%20you%20can%20solve%20the%20issue%20by%20using%20%22Current%20Daa%20Table()%22.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EcurBatch%20%3D%20%3ABatchId%3B%0AcurCondition%20%3D%20%3AStorageCondition%3B%0AtheRows%20%3D%20Current%20Data%20Table()%20%26lt%3B%26lt%3B%20get%20rows%20where(%0A%20%3ABatchId%20%3D%3D%20curBatch%20%26amp%3B%20%3AStorageCondition%20%3D%3D%20curCondition%20%26amp%3B%20%3ATime%20%3D%3D%200%0A)%3B%0Ad0Row%20%3D%20theRows%5B1%5D%3B%0Ad0Time%20%3D%20%3AQcParameter%5Bd0Row%5D%3B%0AIf(%20Row()%20%3D%3D%2011%2C%0A%20Show(%20therows%2C%20d0Time%20)%0A)%3B%0A(100%20*%20%3AQcParameter)%20%2F%20d0Time%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-685011%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Optimizing%20a%20column%20formula%20for%20standardizing%20time%20resolved%20data%20to%20100%25%20rel.%20at%20t%3D0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-685011%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EThanks!%20I'll%20try%20and%20summarize%20again%3A%3C%2FP%3E%3COL%3E%3CLI%3EWhen%20adding%20the%20three%20formula%20columns%20to%20the%20example%20table%20previously%20without%20formula%20columns%2C%20then%20copying%20and%20executing%20the%20resulting%20table%20script%20of%20the%20table%20now%20containing%20the%20three%20formula%20columns%2C%20only%20examples%202%20and%203%20will%20populate%20the%20corresponding%20formula%20columns%20with%20the%20expected%2C%20relative%20values.%20The%20first%20formula%20column%20stays%20empty.%3C%2FLI%3E%3CLI%3EMoreover%2C%20when%20adding%20new%20rows%20to%20the%20final%20table%20created%20under%201.%20(i.e.%20from%20the%20table%20script%20containing%20now%20all%203%20formula%20columns)%2C%20only%20the%20third%20example%20will%20not%20throw%20an%20error%20message%20when%20adding%20new%2C%20empty%20rows.%3C%2FLI%3E%3C%2FOL%3E%3CP%3EBecause%20of%20this%20observation%20I%20removed%20the%20%22d0Row%22%20variable%20as%20part%20of%20example%203.%20Following%20this%2C%20no%20error%20message%20appears%20when%20adding%20new%20rows%20to%20the%20table%20and%20it%20reproduces%20the%20relative%20data%20as%20expected.%20%3CSTRONG%3EThe%20question%20therefore%20is%20if%20%22d0Row%22%20is%20at%20all%20required%3C%2FSTRONG%3E.%20I%20created%20example%203%20specifically%20to%20test%20this%20hypothesis.%20(Removing%20%22d0Row%22%20makes%20the%20formula%20shorter%2C%20but%20my%20concern%20is%20that%20this%20variable%20is%20essential%20or%20that%20I%20am%20overlooking%20something.%20Am%20I%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20not%20sure%20this%20is%20related%20to%20using%20or%20not%20using%20%22current%20data%20table()%22%20in%20the%20formula.%20I've%20used%20%22current%20data%20table()%22%20as%20a%20workaround%20for%20a%20long%20time%20now.%20This%20will%20still%20result%20in%20error%20messages%20when%20adding%20new%20rows%20to%20a%20table%2C%20but%20I%20still%20want%20to%20be%20able%20to%20add%20new%20rows%20to%20a%20table%20without%20having%20to%20constantly%20confirm%20error%20messages%20for%20every%20relative%20column%20in%20a%20table%20when%20a%20new%20row%20is%20added.%20There%20are%20dozens%20of%20relative%20columns%20in%20them%20and%20it%20costs%20time%20to%20repeat%20this%20operation.%20It%20is%20of%20course%20possible%20to%20suppress%20evaluation%2C%20but%20this%20also%20costs%20time.%20Apologies%20if%20this%20example%20is%20not%20clear%2C%20but%20I'm%20willing%20to%20explain%20further.)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-685098%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Optimizing%20a%20column%20formula%20for%20standardizing%20time%20resolved%20data%20to%20100%25%20rel.%20at%20t%3D0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-685098%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EYou%20should%20be%20able%20to%20eliminate%20the%20error%20messages%20with%20the%20Try()%20function%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ETry(%0A%20curBatch%20%3D%20%3ABatchId%3B%0A%20curCondition%20%3D%20%3AStorageCondition%3B%0A%20theRows%20%3D%20Current%20Data%20Table()%20%26lt%3B%26lt%3B%20get%20rows%20where(%0A%20%20%3ABatchId%20%3D%3D%20curBatch%20%26amp%3B%20%3AStorageCondition%20%3D%3D%20curCondition%20%26amp%3B%20%3ATime%20%3D%3D%200%0A%20)%3B%0A%20d0Row%20%3D%20theRows%5B1%5D%3B%0A%20d0Time%20%3D%20%3AQcParameter%5Bd0Row%5D%3B%0A%20If(%20Row()%20%3D%3D%2011%2C%0A%20%20Show(%20therows%2C%20d0Time%20)%0A%20)%3B%0A%20(100%20*%20%3AQcParameter)%20%2F%20d0Time%3B%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-685134%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Optimizing%20a%20column%20formula%20for%20standardizing%20time%20resolved%20data%20to%20100%25%20rel.%20at%20t%3D0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-685134%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ENot%20exactly%20related%20to%20this%20question%2C%20but%20you%20can%20%22simplify%22%20the%20formula%20with%20some%20Col-function%20magics.%20These%20suggestions%20should%20work%2C%20but%20you%20should%20verify%20them%20before%20replacing%20old%20working%20formula%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%26lt%3B%26lt%3B%20New%20Column(%22FormulaA%22%2C%20Numeric%2C%20Continuous%2C%20Formula(%0A%20100%20*%20%3AQcParameter%20%2F%20Col%20Sum(If(%3ATime%20%3D%3D%200%2C%20%3AQcParameter%2C%20.)%2C%3ABatchID%2C%20%3AStorageCondition)%20%0A))%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EIf%20the%20data%20is%20sorted%20in%20such%20a%20way%20that%20Time%200%20is%20always%20first%20for%20the%20group%2C%20you%20can%20make%20it%20even%20easier%20to%20understand%20(maybe)%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%26lt%3B%26lt%3B%20New%20Column(%22FormulaB%22%2C%20Numeric%2C%20Continuous%2C%20Formula(%0A%20100%20*%20%3AQcParameter%20%2F%20QcParameter%5BCol%20Min(Row()%2C%20%3ABatchID%2C%20%3AStorageCondition)%5D%0A))%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-685153%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Optimizing%20a%20column%20formula%20for%20standardizing%20time%20resolved%20data%20to%20100%25%20rel.%20at%20t%3D0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-685153%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EThis%20was%20actually%20exactly%20related%20to%20the%20discussion.%20The%20discussion%20is%20about%20eliminating%20error%20messages.%20Your%20suggestion%20does%20that.%20Thanks.%20Secondary%20goal%20was%20explanation%20of%20the%20necessity%20of%20%22d0Row%22%20variable%20in%20the%20original%20formula.%20This%20hasn't%20been%20resolved%2C%20but%20it%20really%20doesn't%20look%20as%20if%20it's%20required.%20Simplicity%20is%20desirable%2C%20of%20course.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-685164%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Optimizing%20a%20column%20formula%20for%20standardizing%20time%20resolved%20data%20to%20100%25%20rel.%20at%20t%3D0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-685164%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EMaybe%20d0Row%20is%20there%20%3CSTRONG%3Ejust%20in%20case%3C%2FSTRONG%3E%20if%20there%20could%20be%20multiple%20places%20where%20the%20time%20is%200%20for%20each%20of%20the%20groups%3F%20Using%20d0Row%20you%20would%20only%20take%20first%20of%20those%20(my%20formulas%20for%20examples%20do%20not%20take%20that%20into%20account%20(sorting%20thing%20kinda%20does)).%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
Ressel
Level VI

Optimizing a column formula for standardizing time resolved data to 100% rel. at t=0

I have received the formula I want to discuss almost 3 years ago from @txnelson, never let go of it since and thought about it many times before now, slowly coming somewhat more seriously to grips with scripting. In the meantime, the formula as saved me a lot of time.

In the example below, the same formula is added 3 times, each time with a little bit of variation. The issue I want to discuss are the different error messages thrown when copying and running the table script of the table including the newly added formula columns.

 

Names Default To Here( 1 );

// first, we need an example table
dt = New Table( "ExampleTable",
	Add Rows( 24 ),
	New Column( "BatchId",
		Character,
		"Nominal",
		Set Values(
			{"A", "A", "A", "A", "A", "A", "B", "B", "B", "C", "C", "C", "D", "D",
			"D", "E", "E", "E", "F", "F", "F", "G", "G", "G"}
		)
	),
	New Column( "StorageCondition",
		Character,
		"Nominal",
		Set Values(
			{"25Ā°C/60%RH", "25Ā°C/60%RH", "25Ā°C/60%RH", "5Ā°C", "5Ā°C", "5Ā°C",
			"25Ā°C/60%RH", "25Ā°C/60%RH", "25Ā°C/60%RH", "25Ā°C/60%RH", "25Ā°C/60%RH",
			"25Ā°C/60%RH", "25Ā°C/60%RH", "25Ā°C/60%RH", "25Ā°C/60%RH", "25Ā°C/60%RH",
			"25Ā°C/60%RH", "25Ā°C/60%RH", "25Ā°C/60%RH", "25Ā°C/60%RH", "25Ā°C/60%RH",
			"25Ā°C/60%RH", "25Ā°C/60%RH", "25Ā°C/60%RH"}
		)
	),
	New Column( "Time",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values(
			[0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2]
		)
	),
	New Column( "QcParameter",
		Numeric,
		"Continuous",
		Format( "Best", 12 ),
		Set Values(
			[0.2, 0.3, 0.4, 0.2, 0.21, 0.22, 0.3, 0.9, 1.2, ., 0.2, 0.4, 0.1, ., 0.1,
			0, 0, 0, 0.1, 0, 0, 0, 0.1, 0]
		)
	)
);


// adding formula column via approach nr. 1
// this adds the formula alright, but when copying and executing the resulting table script will leave the formula column empty
// no need to discuss this, because this obviously missing the 'eval(eval expr(expr()))' wrapping (see screenshot below) dt << New Column( "QcParameter [% rel.]_1", numeric, formula( curBatch = :BatchId; curCondition = :StorageCondition; theRows = dt << get rows where( :BatchId == curBatch & :StorageCondition == curCondition & :Time == 0 ); d0Row = theRows[1]; d0Time = :QcParameter[d0Row]; (100 * :QcParameter / d0Time); ) ); // adding formula column via approach nr. 2
// this will fill the formula column as desired when copying and running the table script with the added formula columns
// but it will also throw an error message when new rows are added to the table then (see screenshot below) Eval( Eval Expr( dt << New Column( "QcParameter [% rel.]_2", numeric, formula( curBatch = :BatchId; curCondition = :StorageCondition; theRows = Expr( dt ) << get rows where( :BatchId == curBatch & :StorageCondition == curCondition & :Time == 0 ); d0Row = theRows[1]; // removed from approach nr. 3 d0Time = :QcParameter[d0Row]; (100 * :QcParameter / d0Time); ) ) ) ); // adding formula column via approach nr. 3 // this will fill the formula column as desired when copying and running the table script with the added formula columns
// and it will NOT throw an error message when new rows are added to the table then (see screenshot below) Eval( Eval Expr( dt << New Column( "QcParameter [% rel.]_3", numeric, formula( curBatch = :BatchId; curCondition = :StorageCondition; theRows = Expr( dt ) << get rows where( :BatchId == curBatch & :StorageCondition == curCondition & :Time == 0 ); d0Time = :QcParameter[theRows]; (100 * :QcParameter) / d0Time; ) ) ) );

 

Screenshot of error message for formula column "QcParameter [%r rel.]_1]" when rerunning table script with additional formula columns:

Ressel_0-1696856397171.png

 

Screenshot of error message for formula column "QcParameter [%r rel.]_2]" when rerunning table script with additional formula columns:

Ressel_1-1696856568605.png

 

Screenshot of error message for formula column "QcParameter [%r rel.]_3]" when rerunning table script with additional formula columns: 

Ressel_2-1696856674488.png

 

The reason why I am asking this lengthy question is that I assume there must be some reason why variable "d0Row" is used in approach nr. 2, no? For approach nr. 3 I have simply deleted this variable (see screenshot below) and the formula behaves "much more nicely" as a result, i.e., there is no error message when new rows are added ad-hoc by point & click to the data table.

Ressel_3-1696856846545.png

 

My question is therefore, if I am doing something wrong by deleting the "d0Row" variable. In real life I am working with larger data tables and won't be able to check each row individually for its accuracy.

2 ACCEPTED SOLUTIONS

Accepted Solutions
txnelson
Super User

Re: Optimizing a column formula for standardizing time resolved data to 100% rel. at t=0

You should be able to eliminate the error messages with the Try() function

Try(
	curBatch = :BatchId;
	curCondition = :StorageCondition;
	theRows = Current Data Table() << get rows where(
		:BatchId == curBatch & :StorageCondition == curCondition & :Time == 0
	);
	d0Row = theRows[1];
	d0Time = :QcParameter[d0Row];
	If( Row() == 11,
		Show( therows, d0Time )
	);
	(100 * :QcParameter) / d0Time;
);
Jim

View solution in original post

jthi
Super User

Re: Optimizing a column formula for standardizing time resolved data to 100% rel. at t=0

Not exactly related to this question, but you can "simplify" the formula with some Col-function magics. These suggestions should work, but you should verify them before replacing old working formula

dt << New Column("FormulaA", Numeric, Continuous, Formula(
	100 * :QcParameter / Col Sum(If(:Time == 0, :QcParameter, .),:BatchID, :StorageCondition) 
));

If the data is sorted in such a way that Time 0 is always first for the group, you can make it even easier to understand (maybe)

dt << New Column("FormulaB", Numeric, Continuous, Formula(
	100 * :QcParameter / QcParameter[Col Min(Row(), :BatchID, :StorageCondition)]
));

 

-Jarmo

View solution in original post

6 REPLIES 6
txnelson
Super User

Re: Optimizing a column formula for standardizing time resolved data to 100% rel. at t=0

I am not completely sure I am following your issue, but what I am seeing is that your reference to dt is when you copy formula 1, the reference to dt is missing.  In example 2 and 3, you end up with the data table reference pointing to data table "ExampleTable", and your data table name, as shown, is "Example Table 2".  Again, if I am understanding your issue,I think you can solve the issue by using "Current Daa Table()".

curBatch = :BatchId;
curCondition = :StorageCondition;
theRows = Current Data Table() << get rows where(
	:BatchId == curBatch & :StorageCondition == curCondition & :Time == 0
);
d0Row = theRows[1];
d0Time = :QcParameter[d0Row];
If( Row() == 11,
	Show( therows, d0Time )
);
(100 * :QcParameter) / d0Time;

 

Jim
Ressel
Level VI

Re: Optimizing a column formula for standardizing time resolved data to 100% rel. at t=0

Thanks! I'll try and summarize again:

  1. When adding the three formula columns to the example table previously without formula columns, then copying and executing the resulting table script of the table now containing the three formula columns, only examples 2 and 3 will populate the corresponding formula columns with the expected, relative values. The first formula column stays empty.
  2. Moreover, when adding new rows to the final table created under 1. (i.e. from the table script containing now all 3 formula columns), only the third example will not throw an error message when adding new, empty rows.

Because of this observation I removed the "d0Row" variable as part of example 3. Following this, no error message appears when adding new rows to the table and it reproduces the relative data as expected. The question therefore is if "d0Row" is at all required. I created example 3 specifically to test this hypothesis. (Removing "d0Row" makes the formula shorter, but my concern is that this variable is essential or that I am overlooking something. Am I?

 

I am not sure this is related to using or not using "current data table()" in the formula. I've used "current data table()" as a workaround for a long time now. This will still result in error messages when adding new rows to a table, but I still want to be able to add new rows to a table without having to constantly confirm error messages for every relative column in a table when a new row is added. There are dozens of relative columns in them and it costs time to repeat this operation. It is of course possible to suppress evaluation, but this also costs time. Apologies if this example is not clear, but I'm willing to explain further.)

txnelson
Super User

Re: Optimizing a column formula for standardizing time resolved data to 100% rel. at t=0

You should be able to eliminate the error messages with the Try() function

Try(
	curBatch = :BatchId;
	curCondition = :StorageCondition;
	theRows = Current Data Table() << get rows where(
		:BatchId == curBatch & :StorageCondition == curCondition & :Time == 0
	);
	d0Row = theRows[1];
	d0Time = :QcParameter[d0Row];
	If( Row() == 11,
		Show( therows, d0Time )
	);
	(100 * :QcParameter) / d0Time;
);
Jim
jthi
Super User

Re: Optimizing a column formula for standardizing time resolved data to 100% rel. at t=0

Not exactly related to this question, but you can "simplify" the formula with some Col-function magics. These suggestions should work, but you should verify them before replacing old working formula

dt << New Column("FormulaA", Numeric, Continuous, Formula(
	100 * :QcParameter / Col Sum(If(:Time == 0, :QcParameter, .),:BatchID, :StorageCondition) 
));

If the data is sorted in such a way that Time 0 is always first for the group, you can make it even easier to understand (maybe)

dt << New Column("FormulaB", Numeric, Continuous, Formula(
	100 * :QcParameter / QcParameter[Col Min(Row(), :BatchID, :StorageCondition)]
));

 

-Jarmo
Ressel
Level VI

Re: Optimizing a column formula for standardizing time resolved data to 100% rel. at t=0

This was actually exactly related to the discussion. The discussion is about eliminating error messages. Your suggestion does that. Thanks. Secondary goal was explanation of the necessity of "d0Row" variable in the original formula. This hasn't been resolved, but it really doesn't look as if it's required. Simplicity is desirable, of course.

jthi
Super User

Re: Optimizing a column formula for standardizing time resolved data to 100% rel. at t=0

Maybe d0Row is there just in case if there could be multiple places where the time is 0 for each of the groups? Using d0Row you would only take first of those (my formulas for examples do not take that into account (sorting thing kinda does)).

-Jarmo