Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 62672

Syntax for Row-Level Security

$
0
0

Has anyone gotten the newly available Row-Level Security (Preview) to work?

 

I'm using an imported SSAS Tabular on-premise dataset. When I connect to the tabular model in Desktop, it automatically names the columns "TableName.ColumnName", which I've kept.

 

So a role I'm testing on a user looks like this:

 

= [TableName.ColumnName] = 13

 

Where the column is an ID column. I'd eventually like to reference USERNAME and implement user security, but I'm just trying to get this to work. However, the above rule will cause a blank report for the user.

 

I'll add that the above syntax will create red squiggly syntax error lines in the DAX input screen. The only way to get ride of these syntax errors is to create a rule like this:

 

= [ColumnName] = 13

 

Which omits the TableName, even though the TableName is part of the column name. This also creates a blank report.


Viewing all articles
Browse latest Browse all 62672

Latest Images

Trending Articles



Latest Images

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