Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

MDX [Measures].Allmembers fails when accessing AS Azure model with security

$
0
0

If we have an AS Azure model with security affecting measures (hiding security columns that measures are built on),

then, when executing mdx relating to measures

e.g.,

Select

[Measures].allmembers

on axis(0),{} on axis(1) from [Model]

 

we get an error

Error: An unexpected exception occurred

if we reach members explicitly, e.g. {M1, M2} we do get them back

This works well for an admin user and fails for user belonging to relevant role

 


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>