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!
I have the below table wherein only the TopManagers people can see this data - I tried the following Measures:
You help/suggestion would be appreciated - thanks.
Function | Department | City | Revenue | TopManagers |
TD | Sales | Pune | 1M | john@abc.com; sarah@abc.com; myriam@abc.com |
AD | HR | Mumbai | 2M | raj@abc.com; shirish@abc.com; john@abc.com |
TID | Procurement | Delhi | 3M | sarah@abc.com; john@abc.com |
I have tried to get the data with the below Dax query - it is working however getting filtered with the current logged in user.
What I want is: If TopManagers equal or contains USERPRINCIPALNAME() then show all data.
Using SQL it would be: SELECT * FROM TimeReport WHERE TimeReport[TopManagers] IN (USERPRINCIPALNAME())
@Anonymous , My advice is, if possible, split the TopManagers column in power query into rows
https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/
Hi Amit,
I gave it a try however it doesn't look optimal - TopManagers values get split into columns so it can be 2 or 3 or 5 columns as I am getting the Top Managers of a user dynamically as per the Organization Chart.
Therefore evaluating how many top managers would a user have and then querying all these columns would be tedious hence dropping this idea.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
27 |
User | Count |
---|---|
92 | |
50 | |
44 | |
40 | |
35 |