Forum Discussion

kitti's avatar
kitti
Helper III
1 year ago
Solved

Power BI Report Server Direct Query from Spark and SQL Server database is not working

Hi Experts,   I just tried using Power BI Desktop and get data in direct query mode from Spark/SQL Server with success. However, I uploaded the reports on my Power BI Report Server (September 2024)...
  • v-sathmakuri's avatar
    1 year ago

    Hi kitti ,

     

    Thank you for reaching out to Microsoft Fabric Community.

     

    As you have confirmed you have validated server names and also you have restarted the PBIRS service.

    Please try the below steps as well.

    • Go to Manage,  Data Sources, Set to Windows Authentication (Integrated),  Enable "Use as Windows credentials"

    • Ensure ODBC or MSOLEDB drivers are installed on the PBIRS server for Spark/SQL Server.

    • check for the report server logs in C:\Program Files\Microsoft Power BI Report Server\PBIRS\LogFiles , look for Errors related to DataExtension, OLEDB, Authentication, or AnalysisServices
    • Use Power BI Desktop (Report Server version) from the PBIRS server itself to test connectivity using the same DirectQuery. This helps rule out firewall or driver-related issues or Make sure PBIRS can resolve and reach the SQL/Spark servers.

      Use ping, telnet <server> <port>, or Test-NetConnection.

    • Go to Event Viewer,  Applications and Services Logs ,  Power BI Report Server and Look for errors tied to authentication or connection issues.

    If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

    Thank you!!