on 10-07-2015 2:13 PM
Hi All
I have requirement that I should display past 6 weeks of
data from the User Week input (Prompt)
We are using SAP HANA as a backend and I am not able to do
Minus on ISOWEEK in IDT Universe(SAP BO 4.1).
I would like to acheive below thing
WEEK
BETWEEN
USER ENTERED WEEK
AND
(USER ENTERED WEEK)-6
Pleasse let me know how to acheive this
Thanks
Ajith
Hi Support Admin,
Your requirement can met by using the function ADD_DAYS() in conjunction with ISOWEEK() and TO_DATE all in one expression. The n paramenter (see syntax below) in your case would be -42 (6*7) .
Syntax of ADD_DAYS:
ADD_DAYS (d, n)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.