Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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
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
Probably because that would be a large security hole.
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".
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
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
