Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a chart and it monitoring the latest month data how do i set it to pick the latest month data. Date is in this format "YYYY/MM"
Rgds
Use max(month) in either dimension or expression using an if condition. You can even do the same with a trigger.
Sometimes only max(month) will not come, try using aggr (which is similar group by in sql)
Hi,
In the expression write
Sum({<MonthYear = {'$(=Max(MonthYear))'}>} Metrics)
Ex:-
Sum({<MonYr = {'$(=Max(MonYr))'}>} Sales)
Here MonYr field is in the format of "YYYY/MM"
And write this expression in the chart expression.
Regards
Anand
Am applying to only one chart on a sheet not all chart on the sheet
Then put it in a expression using if condition, Sum(if(month=max(month), sales,null())
Didnt work
Sum({<MonthYear = {'$(=Max(MonthYear))'}>} Metrics)
What are you using that in... in Calendar or normal chart?
Try aggr, if max is not working properly, use your highest aggregate column for aggr.
Didnt work