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
Didnt work
See what i added:
Sum({<Status={'Actual'}, Date = {'$(=Max(Date))'}>} Data)
Hi,
What is your date format And assume this example
LOAD *,Date(Date,'YYYY/MM') as MonYr;
LOAD * Inline
[
Date,Amount
1/2/2013,1589632
8/12/2013,12569
8/14/2014,14896
9/24/2014,25698
];
Dim:- MonYr
Expre:- sum({<MonYr = {'$(=max(MonYr))'}>} Amount)
In this out put you get 25698 out put same you can do with the field even triggers but it affects the other charts also.
Hope this helps
Regards,
Anand
Did you check the date format is correct also check the value of this expression =Max(Date) in any text object and what you get.
Regards,
Anand
Am dealing with dbase
Sum({<Activity={'Stations'}, Status={'Actual'}, Aggr(Date)>} Data)
Didnt work
If you use AGGR you have to use the fields means from which rows you need to aggregate the data
Ex:-
Aggr(Sum(Sales),FIELD1,field2)
Check the fields first.
Regards
Anand
The only field i have from cross loading is 'Data'
This off the point
Hi,
Lets supose that your field name is AnoMes. then you have ty apply a Set Analysis in the expresstion you are using.
Example:
if you have sum(sales) then you type:
Sum({<AnoMes={$(=Max(AnoMes))}>} sales)