i want to write a subquery using mdx.
in sql that would be something like
CREATE PROCEDURE sp_proc
@param1 varchar(55)
as
Select id,name from table1
where id in(
SELECT distinct id
FROM table2 where field='param1'
)
GO
please let me know how to implement this functionality using mdx queries.