Venkata Siva Komma Posted October 11, 2022 Share Posted October 11, 2022 I have readout and test time I would like to calculate output as shown in table. which function do I have to use and how to transform the dataThank you in advance. Link to comment Share on other sites More sharing options...
Gaia Paolini Posted October 14, 2022 Share Posted October 14, 2022 what happens if you have an extra row? Do you calculate it as Test_times [1+2+3]? In other words, how far back are you summing the Test_times column before the current row? Link to comment Share on other sites More sharing options...
Venkata Siva Komma Posted October 14, 2022 Author Share Posted October 14, 2022 Hi Gaia, Thank fo trying to understand my challenge. Here is detailed information. I have a Unique sample and Experiment and I would like to know the final output in time how much time each sample is taking. Link to comment Share on other sites More sharing options...
Gaia Paolini Posted October 14, 2022 Share Posted October 14, 2022 Would this work?Sum([testTime] + [readout]) over (Intersect(AllPrevious([readout]),[sample],[experiment])) Link to comment Share on other sites More sharing options...
Venkata Siva Komma Posted October 15, 2022 Author Share Posted October 15, 2022 Hi Gaia,Fantastic. Its working. Thank you. Link to comment Share on other sites More sharing options...
Venkata Siva Komma Posted October 15, 2022 Author Share Posted October 15, 2022 Hi Gaia, Function is working But again one more challenge. You see empty value I have in Readout so I expect empty value in Output as well. I tried If and Null function However I could not figure it out. Can you please have a look into it. Thank you. Link to comment Share on other sites More sharing options...
Gaia Paolini Posted October 17, 2022 Share Posted October 17, 2022 can you elaborate on the rationale of the calculations? Since I am accumulating readouts, why would a null value at the end invalidate the whole output? Link to comment Share on other sites More sharing options...
Venkata Siva Komma Posted October 17, 2022 Author Share Posted October 17, 2022 Hi Gaia,In Readout column I have three different read outs therefore I need output time also with respect to read out time. of course, I have to do accumulating for test time. Therefore, I did follow. First, I accumulated and then added the readout now it's working T1=Sum([Test time]) over (intersect([sample],AllPrevious([R_0])))T2=T1+ReadoutThank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now