Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi viewers
I have small doubt.
when i was write this expression sum({$<Year={"$(=Year(today()))"}>}Sales) the bar graph shows 2017.and
if i write this expression sum({<Year={$(=max(Year))}>}Sales) the bar graph shows 2018.
what is the difference,please explain.
Here, Year(Today()) will return 2017 because this year running is 2017
Max(Year) same if you have year till 2017. My assume, you may have till 2018 year sales on your data set. Max will return only max value.
You can use this to get only 2017 year sales data
sum({<Year={$(=max(Year-1))}>}Sales)
Here, Year(Today()) will return 2017 because this year running is 2017
Max(Year) same if you have year till 2017. My assume, you may have till 2018 year sales on your data set. Max will return only max value.
You can use this to get only 2017 year sales data
sum({<Year={$(=max(Year-1))}>}Sales)
Hi anil,
I got the difference.Thanks for responding