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

Need assistance on RLS.

$
0
0

Hey everyone,

 

I am currently getting more and more acquainted with PowerBI, however; I am having difficulties trying to get this whole RLS concept down in my head. I have consulted the DAXreference pages on MSDN, however; whenever I try to supply my own DAX input to create RLS rules, it never works as I will explain.

 

I am currently using a testbed dataset which is populated with data fillers. I have 1 table simply called Table1. I created 2 roles to compare what information is seen between the two. The first and top most role is the Top Role which has no restrictions. I then created a second role called Limited Role which will only display limited information.

 

Once I did this, I added DAX input into the Limited Role to see if I could get it to omit data from certain columns. I know that this is a Row-oriented security setting, but can I actually filter our information based on columns? If not, what can I do to display only data from the "Backlogged" column in Table1? Would this require a re-arranged or re-created table, which inverts columns to rows; or is there a way to actually do this?

 

I will show you an example of what I tried:

 

DAX input for Limited Role:

 

tableName[columnName] Greater or Equal to Number

 

Table1[Backlogged] >= "-99999"          <-- This was to make it display Backlogged numbers that are greater or equal to -99999, that way the range would be found above that and would be displayed. The end result displayed no data in my test report.

 

I admit I am rather new to DAX.


Viewing all articles
Browse latest Browse all 61640

Trending Articles



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