Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hey guys.
I have a question. Is there a way to get in expression the previous date value?
If I have these dates :
21/03/2018
20/03/2018
19/03/2018
17/03/2018
And I would like to have this result
Current | Previous |
---|---|
21/03/2018 | 20/03/2018 |
20/03/2018 | 19/03/2018 |
19/03/2018 | 17/03/2018 |
17/03/2018 | - |
Thank you,
Razvan
Kind of ,
But with only two columns : Current date(the date I select) , and Previous date ( previous date for selected date)
Do you have the solution?
Hi,
Try in expression:
sum({<HIST_DATE = {'>=$(=Date(Only(HIST_DATE)-1))'}>}Value)/1000
Saludos.
I don`t need values for each KPI for previous day. I need to put as column header , Previous Date for previous values.
HIST_DATE - 1 won`t work because there is a gap between 26 and 24.
When I select 26 , the previous DATE should be 24 not 25
May be try this
=Max({<HIST_DATE = {"$(='<' & Max(HIST_DATE))"}>}HIST_DATE)
This is perfect.
Many thanks