on 05-01-2006 8:46 PM
I have two dates in my Purchase Order Cube; 1) Document date and 2) Invoice date.
Is it possible to write a query that only shows data where Document Date is later than the Invoice Date? I can see in the Query Designer that there are some exclusion options for key figures but nothing for dealing with dates.
Thanks!
Hi Patrick,
You need to create 2 formula variables of replacement path on your 2 dates. Then in the structure create a formula with these 2 variables difference. Say, it'll be greater zero or less than zero. Create a condition on this last formula and you are done!
Best regards,
Eugene
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try doing with a condition. You can even try with an IF condition in the new formula.
Message was edited by: AVR - IGA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I understand you correctly this will create a prompt and the user will have to enter a date range. I don't want the user to have to select a data range, I just want the exclusions to appear. They only want to see a list of all records where one date is greater than the other. I know I could probably create a new infoObject and in the update rules populate the new infoObject with a number that is the difference in days between the two dates but that seems like too much work. Seems like I should be able to do this in the query.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.