Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
88 | |
52 | |
45 | |
39 | |
38 |