Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

SSAS Live Connection - Filter for Current User

Hi

 

Hoping for a bity of advice, we've got an on prem SSAS MDX Cube that were looking at producing some Power BI reports against using Live Connection.

 

One requirement is that we produce an employee specific report/dashboard where the data will be filtered for the currently logged in user viewing the report.  I don't seem to be able to find a way to do this using a live connection, is my understanding correct that this isn't possible in Power Bi by providing a suitable filter?

 

I realise we can implement Row Level Security RLS on the cube itself  but the problem is that workers may perform multiple roles in the company so they might want to look at their specific performance report where the report is tailored/filtered to them as an individual, or if they are also a team leader/dept manager they will want to view  a different report where its filtered based on their team or dept and therefore different filters would need applying.

 

Is the only way to do it to use different roles and perspectives directly defined in the cube itself?

 

Thanks

 

 

6 REPLIES 6
parry2k
Super User
Super User

@Anonymous that is how we are currently doing it? Using row level security at cube level which hide the rows from user depending on their role.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Thanks for the reply @parry2k so do you have the scenario where a person can have multiple roles? 

 

If they exist in multiple roles (eg Employee & Dept Manager) and those roles effectively have different filters (eg employee filtered for just the employee, & Dept Manager filtered for their DeptCode) does it not compound the filters and therefore if you browse the department manager report you're still just going to get the data filtered for that individual employee because the cube has applied both sets of filtering? 

yes theoratically it will do that, basically whatever permsision you have on cube, it will get those permission or you need to use powerbi row level security



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

hmm i dont think that will work for us then in that case 😞

 

Looks like we might have to pull the data from the DWH dim & fact tables into a model in the PBIX itself and then define an appropriate role in the report (eg if its the employee centric report to just filter for the current employee)

Anonymous
Not applicable

Anonymous
Not applicable

@Anonymous tbh I'm not sure how that helps my sceanrio

 

let say you have 2 roles defined on the cube

 

1 Employee - where all data is filtered belonging a single employee via the employee Dimension (ie the person logged in)

2 Department Manager - where data is filtered by by it beloning to a particular department

 

I we have a user who is in both roles then the cube is going to allow them to see all their transactions and all transactions belonging to anyone in that department.

 

Therefore if they if they look at the report geared towards an individuals perfomances its going to returen datat belonging to all people in that department becasue there doen't appear to be anyway to dynamically filter it for just that users.

 

When they want to look at the department level perfmnce report yes they would want to see all the data broken down by different employees.

 

Using a LIve connection there just doesnt seem to be any way to dynamically filter that one persons data if they are allowed to see more than tat in the cube. If i've mis understood please could you procide an example of how it would work.

 

regards

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.