See below the table I am working with
This is a time series of actions and I try to understand how I can calculate the time difference between the individual rows that are returned
How can I calculate the difference between the time stamp in
row 2 and row 1
row 3 and row 2
row 4 and row 3
etc
thanks!
These are considered table calculations in QuickSight, meaning they operate on the data that is visible in your visual. For the lag function to work correctly, both the previous and current rows must be present in your visual. If the previous row is not displayed in your visual, the lag function won’t be able to retrieve its value, and the calculation won’t work as intended.