Hi,
I have a webi report requirement with 10 feilds,i have pulled all the 8 feilds in the report.I got struck with 2 fields with MAX and Count (aggregate) .
we are planning to execute them with select clause by sub query option.
We are planning to keep ID present in all the sub queires because i want them to be jonied by ID.
1. Last Date of LSRF:
SELECT ID, Max(dbo.MetricRequest.RequestDate) FROM dbo.MetricRequest Where dbo.MetricStatusTypeKey In (‘1’,’2’,’5’,’6’,’7’,’8’,’9’,’10’,’11’,’12’).
2. Number of Requests
SELECT ID , Count(dbo.MetricRequest.MetricRequestID) FROM dbo.MetricRequest Where dbo.MetricStatusTypeKey In (‘1’,’2’,’5’,’6’,’7’,’8’,’9’,’10’,’11’,’12’
Any idea how to create sub queries in webi for aggregate calculations.
Thanks