Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May be this
Sum({<
Year = {"$(=Year(Today()))", "$(=Year(Today())-1)"},
Quarter,
Month,
Week,
Dato = {"=SetDateYear(Dato, Year(Today())) >= YearStart(Today()) and SetDateYear(Dato, Year(Today())) < Today()"},
ElementID = {RR}>}
[Vaerdata.Verdi])
View solution in original post