Jason,
Thanks for your previous reply. It solved my main problem. However a new one has come up which I am not exactly sure how to handle.
In the OR clause is it possible to put EXCEPT around a set? As I had mentioned in my first post this set in WHERE clause returns no data
{
[Procedure].[Procedure].&[21333]
,[Procedure].[Procedure].&[21342]
,[Procedure].[Procedure].&[21357]
}
Is it possible to tweak this WHERE clause only this time use EXCEPT around the [Procedure].[Procedure] items
{([Diagnosis].[Diagnosis Subcategory].&[102 Injury to blood vessels],[Procedure].[Procedure].[All])
,([Diagnosis].[Diagnosis Subcategory].&[128 Air and space transport accidents] ,[Procedure].[Procedure].[All])
,([Diagnosis].[Diagnosis Subcategory].&[149 MALIGNANT NEOPLASM OF LYMPHATIC AND HEMATOPOIETIC],[Procedure].[Procedure].[All])
,([Diagnosis].[Diagnosis Subcategory].&[37 Inflammatory diseases of the CNS],[Procedure].[Procedure].[All])
,([Diagnosis].[Diagnosis Subcategory].[All],[Procedure].[Procedure].&[21333])
,([Diagnosis].[Diagnosis Subcategory].[All],[Procedure].[Procedure].&[21342])
,([Diagnosis].[Diagnosis Subcategory].[All],[Procedure].[Procedure].&[21357])}
Any help will be appreciated.
Thanks.
commented on Apr 11 2012 1:25AM