次のコードを使用して、SSMS で名前付きセットを作成しています。
WITH SET [American WWII Figures] AS
'{[American GI], [US Army Pilot]}'
そして、私は応答を取得します:
Executing the query ...
Parser: The end of the input was reached.
Execution complete
そのクエリは正常に実行されましたか?
次に、名前付きセットを使用しようとすると:
SELECT {[American WWII Figures]} ON COLUMNS,
[Year].Members ON ROWS
FROM [Max Min Manufacturing DM]
WHERE [Measures].[Total Products]
私は得る:
Executing the query ...
Query (1, 9) The dimension '[American WWII Figures]' was not found in the cube
when the string, [American WWII Figures], was parsed.
実行完了
存在しないように見えるので、セットを作成するときに何か問題があると思います。エラーは何ですか?