Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I have oracle store proceure and I successfully loaded data using store procedure in Power BI, now I want to excute my store procedure dynamically with paramter, it shoud executed by power BI logind ID (username) , can anyone guide me how to do this.
your support will be highly appreciate.
Thanks,
Sunil
Solved! Go to Solution.
Hi @Anonymous ,
as @lbendlin mentioned, you cannot retrieve these values with Power Query.
How about considering a workaround that fetches the user from the database login instead?
I'm using this function for it:
= ()=>
let
Source = MySQL.Database("myDBconnectionString", "myTableName", [ReturnSingleDatabase=true, Query="SELECT current_user"]),
current_user = Source{0}[current_user],
Custom1 = Text.BeforeDelimiter(current_user, "@")
in
Custom1
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Thankfully this is not possible. If you need that level of control, use Row Level Security and/or Direct Query mode against the Oracle table or view.
Hi @Anonymous ,
as @lbendlin mentioned, you cannot retrieve these values with Power Query.
How about considering a workaround that fetches the user from the database login instead?
I'm using this function for it:
= ()=>
let
Source = MySQL.Database("myDBconnectionString", "myTableName", [ReturnSingleDatabase=true, Query="SELECT current_user"]),
current_user = Source{0}[current_user],
Custom1 = Text.BeforeDelimiter(current_user, "@")
in
Custom1
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
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 |
---|---|
15 | |
10 | |
10 | |
8 | |
7 |