Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 38 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 141 | |
| 105 | |
| 63 | |
| 36 | |
| 35 |