Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi community
The following post describes 4 ways to get the username in Power Query :
https://querypower.com/2017/04/03/4-ways-to-get-username-in-power-query/
Unfortunately, the simplest method (n°2) is not reliable because of NTFS delay as explained in the post.
So I developped a function using the same concept with some improvements :
https://thebipower.fr/index.php/2020/03/04/get-username-function-in-power-query/
Hoping it helps
Solved! Go to Solution.
Hi @DidierTerrien ,
Thanks for sharing that!
Hi @DidierTerrien, really sorry to pop up to this thread so long after your comments, but I would like to know whether your proposal could be applied, with some improvements, to a report published on Power BI Server, or if it is only available for Power BI Desktop (I'm assuming it since it search for a local folder in C:\\.
Thanks,
Damiano
See my reply above. C Drive path did not work when published. (Unless I missed something) The Web connection to SharePoint did, using oauth2 on the gateway --it always returns the person running the report at the time.
Hi @DidierTerrien ,
Thanks for sharing that!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
8 | |
8 | |
7 |
User | Count |
---|---|
17 | |
13 | |
7 | |
6 | |
6 |