Hello team,
I have a requirement to find the previous row value of a dimension field.
Eg: If current row is not equal to previous row then ‘R’ else ‘N’.
But the field is a dimension and its not a measure. Also, the lag function in quicksight works only for measures.
Is there any function to calculate this in QuickSight. I cannot use custom sql because I have joined two different datasources and the fields used in the case statement are from both the datasets.