Hi,
The 2 parameters are :
'${host}'
and
'${platform}'
if i will replace '${platform}' with and string the query will return result.
( both selector parameters are not empty )
The query is :
select qosdata.samplevlaue, qosdata.samplevalue, ci.ci_name
from S_QOS_DEFINITION def, S_QOS_DATA qos, CM_CONFIGURATION_ITEM_METRIC, metric, CM_CONFIGURATION_ITEM ci, RN_QOS_DATA_0003 qosdata
where def.name like 'QOS_TEMP1' and def.qos_def_id = qos.qos_def_id
and metric.ci_metric_id = qos.ci_metric_id and ci.ci_id = metric.ci_id
and qosdata.table_id = qos.table_id and qos.source = '${host}'
and ci.ci_name = '${platform}'
and qosdata.sampletime > DATEADD(DAY,-1.GETDATE())
and qosdata.table_id =
(select top 1 table_id from RN_QOS_DATA_0003
where sampletime =
( select max(sampletime) from RN_QOS_DATA_0003 where qos.table_id = table_id)
order by samplevalue desc )
order by 1