This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi all,
I have implemented row level security on my reports and I would like to log these (filter) actions for audit reasons. The situation:
Alice views a report being signed in with her email.
Row level security filters out what Alice is allowed to see based on her email using USERPRINCIPALNAME() and an "autorisation" tabel which has a relation with the data.
I want to log the query (and email & datetime) which provides the data Alice will see. Is there a way to get this information?
Greetings!
This approach will allow you to log the query used by the RLS filter, as well as the email and date and time of access, for each time the report is accessed.
Hi DataSlayer,
thanks for the response, I believe this is exactly what I need. However I do not know how and where to implement this expression. Cloud you show me?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 9 | |
| 5 | |
| 5 |