on 2015 May 13 3:53 PM
Hi guru,
today i faced one question interview.
the requirement is
how to get the last year last quarter last month last week last day sales in single Measure Object.
Please guide me guru
Thanks
Manohar
The question is not very clear.
Do you want the previous year, previous month, etc values for ANY given date OR you just want the latest (last) available data for year, month, etc?
Regards,
Naras
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you have all the time dimension objects in place then you get all together using Last() and concatenating all the objects into one measure else create all the individual time/calendar objects and use Last function on top of them and then finally concat them.
Grtz
-Anila.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manohar,
You can use the LAST formula to achieve that.
=Last([Date dimension]) ForAll ([Measure])
If you need somenthing more complex, i.e. get the last month of the year where a sale has been made you could use...
=Last([Month dimension]) Where (Not(IsNull([Measure])))
I hope this helps you.
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
10 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.