Forum Discussion
Vinay96
Helper I
3 years agoPass User ID from Report Builder to Store Procedure
Hi; I know there is a Built in fields in Power BI Report Builder to get the logged in Username or User ID. What I need to do is pass the value of User ID to SQL to execute a stored procedure that wil...
d_gosbell
Super User
3 years agoIf you pick the stored procedure option in the dataset properties, then navigate to the parameters settings it should list all the parameters for your stored procedure.
You can then click the fx button to add an expression and choose the UserID from the Built-in Fields
You will end up with a parameter setting that looks like the following and will pass the UserID value from the paginated report to your stored procedure