Hello Folks,
We are using aggregation function in an calculation view which is build on an analytical view using sql script which is as follows -:
var_out = select count(*) as "Notif_Id","Fiscal_Year_Week_Name"
from "_SYS_BIC"."system/AN_WARRENTY"
group by "Fiscal_Year_Week_Name";
which is giving result as -:
But when we check result in analytical view for confirmation it gives the following result -:
These are the distinct values in analytical view,whereas since data is same for both the views we should get the same result (Refer picture 1 and picture 2 ) while running both the views but we are getting the different result.
For FY08W30 and FY08W01 we have Duplicate Notif_Id but in when we run the calculation view it gives FY08W25 as Count 2.
But we want result as FY08W30 = 2 and FY08W01 = 2. which we are not getting.
Please help where we are going wrong.
Thanks
Ashutosh