on 08-16-2015 8:23 PM
Hi all,
Example from efashion world: Consider the data availablity in the report.
First of all I add an input control on the variable Month. The user can select one or several months together.
I would like to present a summary table by year depending on the choice of the months
BUT!! at the Quantity sold column I would like to show the value for the max/last month and for the sales revenue column to display sum(sales revenue)
The problem of course at quantity sold column. I can not manage to display the value selected for the last month.
Example:
Suppose the user selected months 1 to 4
Quantity sold should be 6,778 and sales revenu should be sum for all 4 months
For a choice of months between 3 and 6 Quantity sold should be 7,057 and sales revenu should be sum for all 4 months
and so on... the Quantity sold column must display the value for the last month that the user choose
Is it possible?
Hi,
This is possible.
Follow the steps:
1) Create a variable
ranking =Rank([Month]) In([Year];[Month])
2) Now use following formula for displaying quantity sold
=[Quantity sold] In([Year];[Month]) Where([ranking]=1)
You will get your desired output.
Thanks,
Swapnil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.