Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
abhiram342
Microsoft Employee
Microsoft Employee

Programmatically query power bi dataset using linked server

Hi Team -We would like to query power bi dataset programmatically using DAX . We have set up linked server in SQL Server (( installed sql server on Azure VM) . However , When I click on test connection the connection fails with access error . Can some one please suggest how to fix it or alternative options (( Note / I have looked into executeQueries Api but it doesn't Suppport PBI dataset with RLS. We have RLS in our dataset

 

Thanks,
Abhiram

1 REPLY 1
Anonymous
Not applicable

Hi @abhiram342 ,

 

I don't quite understand your description.
Are you not able to connect to SQL Server and have problems with the verification link when you want to query power bi dataset programmatically using DAX?
Maybe you can provide some images or error messages (if any) to better explain your needs?

 

Best Regards,
Community Support Team _ Caitlyn

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.