Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, does anybody have recipe have easily store today value in KPI chart and use tomorrow for comparing with new one?
Generally, I would have a "IsYesterday" flag, and then use that in my set analysis. It can then be calculated at load time or declared in the UI
SUM({<[IsYesterday]={'Y'}>} Widgets)
You would have to create this flag using a calendar or some other date in your script i.e
If( InDay(SomeDateInYourDataModel, Today(), -1 ) , 'Y','N' )
ok, please correct me if I am wrong:
1. I need to add
If( InDay(SomeDateInYourDataModel, Today(), -1 ) , 'Y','N' )
SUM({<[IsYesterday]={'Y'}>} [Sum(Sales)])
Correct ?
@JustinDallas thank you so much for your answer, but it's not working 😞 Could please send the sample .qvf with dummy data ?
If you provide the dummy data I might be able to help.