on 03-24-2013 1:35 PM
How can we calculate Week MTD,YTD functions.
I am using Webi4.0
how can we implement this in report.Could you explain logic.
(1) Make a variable named Current Date =CurrentDate()
(2) another variable named Current Year =If(Month([Current Date]) InList("January")) Then(FormatNumber(Year([Current Date])-1;"###")) Else (FormatNumber(Year([Current Date]);"###"))
(3) then MTD =Concatenation(Left(FormatDate([Current Date];"dd/MM/yyyy");2) ;Concatenation("-";Concatenation(Concatenation(Left(Month([Current Date]);3);"-");Right(FormatNumber(Year(CurrentDate());"####");4))))
(4) YTD=Concatenation(Concatenation("Apr-";[Current Year]);If(MonthNumberOfYear([Current Date])=4)Then("") Else(Concatenation(" to ";Concatenation(Concatenation(Left(Month([Current Date]);3);"-");Right(FormatNumber(Year([Current Date]);"####");4)))))
Thanks & Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
before asking you should please search, this question has been asked over and over in the past
For more info on how to use the SCN discussions, please refer to Rules of Engagement
Thanks
Best regards,
Simone Caneparo
SCN Discussions Moderator
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aya,
Check the WebI formula document. It gives enough and detailed information on how to use formulas in WebI.
http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp5_ffc_en.pdf
This message was moderated.
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.