Need to build insight visual for given two months. visual like period to date, top mover, bottom movers.
in dataset having startdate field as date datatype and another StartYearMonth field string as “year-month” from startdate field as string, I have created two string parameters get values from StartYearMonth field.
I tried to create below calculated field using lag function but getting error at datediff part.
Hi @SK20 and welcome to the Quick Suite Community!
In regards to your calculated field error; when using the lag function, you cannot use a dynamic value/row to base your calculation off of; it provides the variance based on a lookup index, which has to be a set number. So you would need to create some type of ranking first, that way you can utilize the lookup index to refer to another row.