Hello Experts,
I am trying to add prompt for a report we already have. I created a dataset called collection and gave the below query
SELECT
v_Collection_Alias.CollectionID ,v_Collection_Alias.Name
FROM
fn_rbac_Collection(@UserSIDs) v_Collection_Alias
WHERE
v_Collection_Alias.CollectionType = 2
And then I added a parameter called collection and in properties i chose the data set variable.
when I run the report it prompt fro collection, but it is giving all the machines. from online i got to know i have to add more to main data set
my main data set query is
select CASE WHEN lastmpservername LIKE '' then lastmpservername else UPPER(SUBSTRING(lastmpservername, 1, CHARINDEX('.', lastmpservername) -1 )) END as 'Management Point',
count(lastmpservername) as 'Total Clients'
from v_CH_ClientSummary
group by lastmpservername
order by lastmpservername desc
What to add for this to make prompt to work?
Thanks
I am trying to add prompt for a report we already have. I created a dataset called collection and gave the below query
SELECT
v_Collection_Alias.CollectionID ,v_Collection_Alias.Name
FROM
fn_rbac_Collection(@UserSIDs) v_Collection_Alias
WHERE
v_Collection_Alias.CollectionType = 2
And then I added a parameter called collection and in properties i chose the data set variable.
when I run the report it prompt fro collection, but it is giving all the machines. from online i got to know i have to add more to main data set
my main data set query is
select CASE WHEN lastmpservername LIKE '' then lastmpservername else UPPER(SUBSTRING(lastmpservername, 1, CHARINDEX('.', lastmpservername) -1 )) END as 'Management Point',
count(lastmpservername) as 'Total Clients'
from v_CH_ClientSummary
group by lastmpservername
order by lastmpservername desc
What to add for this to make prompt to work?
Thanks