on 03-31-2014 12:47 PM
Please look into Restricted Measures in Analytic Views. You can find details in the HANA Data Modeling guide. I suspect these will be your best bet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nakul,
There have the points you need to reach your goal, see what would be in SQL:
select
status_start_date,
sum(s1) as s_Initiated,
sum(s2) as s_cleared,
sum(s3) as s_scf_associated,
sum(s4) as s_scf_supervisor
from (
select status_start_date,count(*) as s1,0 as s2,0 as s3,0 as s4 from _sys_bic."Spend/AT_GES_CLAIMS_FLAG_DTLS"
where status_start_date between '2014-01-24' and '2014-01-30' and status='Initiated'
group by status_start_date
union all
select status_start_date,0 as s1,count(*) as s2,0 as s3,0 as s4 from _sys_bic."Spend/AT_GES_CLAIMS_FLAG_DTLS"
where status_start_date between '2014-01-24' and '2014-01-30' and status='Cleared'
group by status_start_date
union all
select status_start_date,0 as s1,0 as s2,count(*) as s3,0 as s4 from _sys_bic."Spend/AT_GES_CLAIMS_FLAG_DTLS"
where status_start_date between '2014-01-24' and '2014-01-30' and status='Seek Clarification from Associate'
group by status_start_date
union all
select status_start_date,0 as s1,0 as s2,0 as s3,count(*) as s4 from _sys_bic."Spend/AT_GES_CLAIMS_FLAG_DTLS"
where status_start_date between '2014-01-24' and '2014-01-30' and status='Seek Clarification from Supervisor'
group by status_start_date
)
group by status_start_date
;
Regards, Fernando Da Rós
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.