Forum Discussion
mcarper
10 years agoRegular Visitor
Syntax for Row-Level Security
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...
- 10 years ago
Sorry, yes, I justed checked and the actual input should be:
TableName[ColumnName] = "text"
Without the leading "=" sign, my bad.
Greg_Deckler
Community Champion
10 years agoI have last night at our Power BI User Group meeting. The syntax I used was DAX:
= TableName[ColumnName] = "text"
I did not try it with a number, but I think it is because you are not referencing the table name in your query.
- mcarper10 years agoRegular Visitor
Weird, I'm trying both 'TableName'[ColumnName] and TableName[ColumName] and neither works.
- orionlee10 years ago
Microsoft Employee
Hi mcarper, does it work if you drop the '=' prefix.
For example, put this in the rule:
[ColumnName] = 13
- Greg_Deckler10 years ago
Community Champion
Sorry, yes, I justed checked and the actual input should be:
TableName[ColumnName] = "text"
Without the leading "=" sign, my bad.