Forum Discussion

abhiram342's avatar
abhiram342
Microsoft Employee
3 years ago

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

  • Anonymous's avatar
    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