I have a cross tab report for top 100 customers. This report brings data for prompted month (Current month), Previous Month and Six months before from prompted month. If the prompted month is April 2002, then it brings data for March 2002 and October 2001.After I ranked the Customer for top 100 based on sales amount it doesnÂ’t sort the amount in Descending order but it is sorting based on row wise. Below is the scenario
Customer 04/01/2002 03/01/2002 10/01/2001
A 100000 99500 88500
B 95000 99000 91000
C 96000 95000 93000
D 87000 86500 92000
E 89000 88000 85400
If you look at rows C, D & E it is not sorting based on a column wise but on a row wise. Is there a way can we sort it in Descending order based on prompted month i.e., 01/04/2002.
Also I want to calculate variance between 04/01/2002 - 03/01/2002 and 04/01/2002 – 10/01/2001. I can insert variance by selecting the values but it is static, can we make it dynamic and how to achieve this.
Guys,
I have similar kinda requirement where i have to sort total sales per month(for 12 monts) on the current month data( current month is chosen by user using a prompt). So do i need to create 2 report variables as discussed above and sort on those variables?
Thanks ANdreas. But i still have a doubt: How do i determine current date from the user response to sort on Customer on Current month data. can i have something like this:
mon = tonumber(userresponse("Query 1","month")))>1
year = tonumber(userresponse("Query 1","year")))>1