This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
Currently I have some challenges with filtering based on username().
I have two tables: Employees and Userinformation.
The Userinformation table contains different usernames and Employees contains different profiles.
What I need: If the username is present at the Userinformation table, then I want to show all profiles from the Employees table. If not, then show no results.
I am fairly new to DAX, so it might be a simple problem.
Thanks in advance
Solved! Go to Solution.
Hi @Anonymous,
Could you mean you want to ues the USERNAME() to filter different data? If so, you could refer to below blog:
http://radacad.com/dynamic-row-level-security-with-power-bi-made-simple
Regards
Daniel He
Hi @Anonymous,
Could you mean you want to ues the USERNAME() to filter different data? If so, you could refer to below blog:
http://radacad.com/dynamic-row-level-security-with-power-bi-made-simple
Regards
Daniel He
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 36 | |
| 32 | |
| 25 | |
| 23 |