Thank you so much for your help. But I still have not created the Dynamic Query parameters .
I think maybe the Build parameter of the Builds report is filtered by the following MDX in dataset DefaultBuilds:
NONEMPTYCROSSJOIN ( [Build].[Build].[Build], [Measures].[Build Project Count], 1 )
and
WHERE ( STRTOSET("[Team Project].[Team Project].[" + @Project + "]"), STRTOSET(@PlatformParam), STRTOSET(@FlavorParam) )
But how can I make the @Run filtered by the MDX? I don't know which Measure or Dimension should be the second parameter of the NONEMPTYCROSSJOIN function. I created a dataset, it's MDX are as below:
NONEMPTYCROSSJOIN ( [Run].[Run].[Run], [Measures].[Build Project Count], 1 )
...
WHERE ( STRTOSET("[Team Project].[Team Project].[" + @Project + "]"), STRTOSET(@PlatformParam), STRTOSET(@FlavorParam) )
But it does not work. It only can query out all the Run values. :-( |