Forum Discussion
Need help in API integration---want to pass PowerBI logged in USER ID as parameter to API
Hi ,
I am trying to pass the power bi Logged in Userid to API .I am noy able to send the dax function output of USERNAME() to query parameter value Please help and trying the solution since more than two weeks
4 Replies
- lbendlin
Super User
That is rather meaningless when you are trying to do a refresh in the Power BI Service.
Please provide more details what you mean by "API integration".
- AnonymousNot applicable
HI
Example
www.yoursite.com?myparam1=123&
If above is the api I am trying to conenct from powerbi, myparam1 is the parameter and and the value i need to send to this parameter is my PowerBI logged in user....which i get using the DAX function USERNAME().But i am not able to store this dax funxtion value in a variable
- AnonymousNot applicable
HI
Example
www.yoursite.com?myparam1=123&
If above is the api I am trying to conenct from powerbi, myparam1 is the parameter and and the value i need to send to this parameter is my PowerBI logged in user....which i get using the DAX function USERNAME().But i am not able to store this dax funxtion value in a variable
- lbendlin
Super User
Probably because that would be a large security hole.