这是我的代码,如果我点击允许它工作正常,但是当用户点击DENY时我想要获得结果或登录被拒绝,它会要求我的许可 如果用户点击" DENY"许可我怎么能在那上面设置一些东西 这是我的代码:
{{1}}
答案 0 :(得分:2)
首先实现一个像这样的onRequestPermissionResult:
MEMBER [Measures].[z] AS SUM([Measures].[Measure1]) * 15
MEMBER [Measures].[y] AS SUM(existing [Set 2])
MEMBER [Measures].[x] AS SUM(existing [Set 1])
MEMBER [Calculated Measure 1 pre1] AS [Measures].[z]
CELL CALCULATION ScopeEmulator
FOR '([Level].[Level].[Level].[SecondSet],[Calculated Measure 1 pre1])'
AS [Measures].[y]
MEMBER [Calculated Measure 1] AS [Calculated Measure 1 pre1]
CELL CALCULATION ScopeEmulator
FOR '([Level].[Level].[Level].[FirstSet],[Calculated Measure 1])'
AS [Measures].[x]