on 09-06-2014 1:06 AM
Hi,
Given below should be the webi output:
Emp No, Emp Location, Emp Name, Seniority Date,Curr_Year_Rating,Prev_Year_Annual_Sal_at_April_1st,current Annual_Sal_at_Jan_01
I am using the formulas for these columns: Curr_Year_Rating,Prev_Year_Annual_Sal_at_April_1st,curr_ Annual_Sal_at_Jan_01
Curr_Year_Rating
([Rating] Where(Valid From Date - PK <= January 1st, 2014 AND Valid To Date >= January 1st 2014))
(ii) Prev_Year_Annual_Sal_at_April_1st
([EMPL ADMIN - Salary Yr] Where(Valid From Date - PK <= April 1st, 2013
AND Valid To Date >= April 1st 2013))
(iii)curr_Annual_Sal_at_Jan_01:
([EMPL ADMIN - Salary Yr] Where(Valid From Date - PK <= January 1st, 2014
AND Valid To Date >= January 1st 2014))
Is it ok to use current and previous year formulas for an employee record?
Can I use if then formula instead of Where clause formulas in the above 3 formulas?
Hi,
Are you creating all these formulas at the universe level?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you validated all the formulas. As I could see in formulas you have and condition in where clause which is syntax error.Where clause at report level only take one condition. Try to use If condition for "Valid From Date - PK <= January 1st, 2014 AND Valid To Date >= January 1st 2014" with 1 and 0 flag.And use new variable and put value equal to 1 in where clause.
What is the error u are getting when using these formulas?"If " clause is used to replace the result value for the column but "where" is used to pick the value if the condition satisfied.
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 | |
10 | |
10 | |
7 | |
6 | |
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.