Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Prabhu1204
Creator
Creator

TAT

Hello All,

 

Could you please help me in below scenario,

I have a Document and for each document there will be a phase.. Phase are calculated by difference of start and end date.

But for calculating Turn around time i need to subtract the value with the previous phase value. how to do that in UI

 

Prabhu1204_0-1646808246685.png

For example : Contract is 1 , Review should be 2-1 = 1, Approval should be 6-2=4 like this

 

 

-Prabhu
1 Solution

Accepted Solutions
justISO
Specialist
Specialist

If it is not complicated and will not brake anything else, you can add numbers before your phases (like '1. Contract Draft', '2. Review' ...). This way you will not lose sorting.

About straight tables, instead 'Before', just use 'Above'.

And one last thing, not to lose first value from result, lets modify my suggested formula with a little tweak:

if (isnull(Before([yourmesure])),[yourmesure], [yourmesure]-Before([yourmesure]))

View solution in original post

4 Replies
justISO
Specialist
Specialist

Hi,

not sure is it working in QlikView the same, but in QlikSense I would try

[yourmeasure]-Before([yourmeasure])

Prabhu1204
Creator
Creator
Author

Will this work in straight table also.. In Pivot table due to sorting the values are not coming as expected

My Sequence should be :  Contract Draft, Review,Approval, Signature, Finalize and Close.

-Prabhu
justISO
Specialist
Specialist

If it is not complicated and will not brake anything else, you can add numbers before your phases (like '1. Contract Draft', '2. Review' ...). This way you will not lose sorting.

About straight tables, instead 'Before', just use 'Above'.

And one last thing, not to lose first value from result, lets modify my suggested formula with a little tweak:

if (isnull(Before([yourmesure])),[yourmesure], [yourmesure]-Before([yourmesure]))

Prabhu1204
Creator
Creator
Author

Thanks  a lot

-Prabhu