Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have requirement like bar chart should display sales of latest year sales(by default).But the
year goes to next year if data is get changed then it should be automatically get changed. client
no need to come to us for changing date .So I want data to be year to be changed dynamically,
suppose I have sent you biggest year is 2011. So by default I want that.
Check the screen shot and find Data source.
this can be done with set analysis
sum({<year={$(=max(year))}>}sales)
Reagrds,
Sundar
HI,
Try this,
Sum({<Year = {'$(=Max(Year))'}>} Sales)
If the max year would not be change even you do filter on date filed then try the below.
Sum({1<Year = {'$(=Max(Year))'}>} Sales)
Thank u boss