Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have two variables
vtwoyear=year(Today())-2
vcurrentyear=year(Today())
sum({<Environment={'$(vEnvironment)'},Dept={'$(Dept)'},Year={"<=$(vCurrentYear and >=vtwoyear) "}
>} usage) to display data for last 2 years.
but not working.
Could you please help
use this Expression:
sum({<Environment={'$(vEnvironment)'},Dept={'$(Dept)'},Year={"<=$(vCurrentYear)>=$(vtwoyear)) "}>} usage)
Try this
sum({<Environment={'$(=vEnvironment)'},Dept={'$(=Dept)'},Year={"<=$(=vCurrentYear)>=$(=vtwoyear)"}>}usage)
Try like:
sum({<Environment={'$(vEnvironment)'},Dept={'$(Dept)'},Year={"<=$(vCurrentYear) and >=$(vtwoyear) "}
>} usage)
Hi,
U want to display for current year along with previous two years or u want it for for selected year and year-2?
sum({<Environment={'$(vEnvironment)'},Dept={'$(Dept)'},Year={"<=$(=Max(Year)) >=$(=Max(Year)-2) "}>} usage)
hth
Sasi