<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Power BI report Server issue with Direct Query to SQL Server database in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4009532#M35633</link>
    <description>&lt;P&gt;Subject already covered in the following post.. &lt;A href="https://community.fabric.microsoft.com/t5/Report-Server/Issues-regarding-power-bi-report-server/m-p/3992811" target="_blank"&gt;Solved: Re: Issues regarding power bi report server - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I think it will help you !&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabien&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2024 16:32:45 GMT</pubDate>
    <dc:creator>fabienChery</dc:creator>
    <dc:date>2024-06-25T16:32:45Z</dc:date>
    <item>
      <title>Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4009188#M35616</link>
      <description>&lt;P&gt;Hi everyone I have Power BI Report server, and power bi desktop for RS (May 2024) installed. I tried to create very first report using Direct Query to a SQL Server database. It works normally in Power BI Desktop, but when I open it from Power BI Report Server, it returned error related to Analysis Services&lt;/P&gt;&lt;P&gt;We couldn't connect to the Analysis Services server. Make sure you've entered the connection string correctly.&lt;/P&gt;&lt;P&gt;Request ID 46c3c998-4e49-568a-9440-538cddde9124&lt;/P&gt;&lt;P&gt;TimeTue Jun 25 2024 09:22:20 GMT-0400 (Eastern Daylight Time)&lt;/P&gt;&lt;P&gt;Service version/powerbi/libs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The detail log here:&lt;/P&gt;&lt;P&gt;2024-06-25 09:22:19.8493|INFO|21|Received request POST /api/explore/reports/3642b2a5-d385-4d38-a5af-415dcb07f16b/conceptualschema| RequestID = 46c3c998-4e49-568a-9440-538cddde9124 ClientSessionID = 3ac90abb-67c9-437b-4029-8875fd901c7e&lt;BR /&gt;2024-06-25 09:22:19.9074|INFO|21|Received request GET /libs/images/fluentui-icons.svg| RequestID = s_70ed60ee-bfe0-4b1a-94cc-e2fab7ae4f62&lt;BR /&gt;2024-06-25 09:22:19.9526|ERROR|47|PBI.Win.DataExtensionException|ExceptionType:Microsoft.PowerBI.DataExtension.Contracts.DataExtensionException;DataExtensionErrorDetails:Details: ErrorCode=QuerySystemError, ProviderErrorCode=0xC112001B, ErrorSource=PowerBI, Message=Failed to get CSDL., HResult=0x80004005, Language=en-US, ProviderErrorMessage=[&amp;lt;ccon&amp;gt;[content removed]&amp;lt;/ccon&amp;gt;], ProviderGenericMessage=[Errors in the high-level relational engine. . The exception was raised by the IDbConnection interface.], ErrorSourceOrigin=MsolapWrapper, OnPremErrorCode=, InnerErrorDetails=[Type=MsolapWrapper.MsolapWrapperException, Message=Failure encountered while getting schema];stackTrace: at Microsoft.PowerBI.DataExtension.Msolap.SchemaCommand.GetModelMetadata(String catalogName, String perspectiveName, String supportedVersion, TranslationsBehavior translationsBehavior)&lt;BR /&gt;at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.&amp;lt;&amp;gt;c__DisplayClass10_0.&amp;lt;GetModelMetadata&amp;gt;b__0(IDbSchemaCommand command)&lt;BR /&gt;at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.ExecuteSchemaCommand[T](ExploreHostDataSourceInfo dataSourceInfo, IDbConnectionPool connectionPool, IConnectionFactory connectionFactory, IConnectionUserImpersonator connectionUserImpersonator, QueryExecutionOptionsBase queryExecutionOptions, ITelemetryService telemetryService, Func`2 action, String failTelemetryMessage, ServiceErrorStatusCode statusCode, ExploreBaseEvent exploreEvent);message:GetModelMetadata;| RequestID = 46c3c998-4e49-568a-9440-538cddde9124 ClientSessionID = 3ac90abb-67c9-437b-4029-8875fd901c7e&lt;BR /&gt;2024-06-25 09:22:19.9526|ERROR|80|Failure in conceptualschema catalogObjectId=3642b2a5-d385-4d38-a5af-415dcb07f16b| RequestID = 46c3c998-4e49-568a-9440-538cddde9124 ClientSessionID = 3ac90abb-67c9-437b-4029-8875fd901c7e Microsoft.PowerBI.ReportingServicesHost.CannotRetrieveModelException: An error occurred while loading the model. Verify that the connection information is correct and that you have permissions to access the data source. ---&amp;gt; Microsoft.PowerBI.DataExtension.Contracts.DataExtensionException: Failed to get CSDL. ---&amp;gt; MsolapWrapper.MsolapWrapperException: Failure encountered while getting schema&lt;BR /&gt;at MsolapWrapper.Utils.ThrowErrorIfHrFailed(Int32 hr, String message)&lt;BR /&gt;at MsolapWrapper.CDbSchemaRowsetWrapper.ExecuteSchemaRowset(Guid schema, Object[] restrictions, PropertySetCollection propSets)&lt;BR /&gt;at MsolapWrapper.SchemaCommand.ExecuteReader(Guid schema, Object[] restrictions)&lt;BR /&gt;at MsolapWrapper.SchemaCommand.GetModelMetadata(Object[] restrictions)&lt;BR /&gt;at Microsoft.PowerBI.DataExtension.Msolap.SchemaCommand.GetModelMetadata(String catalogName, String perspectiveName, String supportedVersion, TranslationsBehavior translationsBehavior)&lt;BR /&gt;--- End of inner exception stack trace ---&lt;BR /&gt;at Microsoft.PowerBI.DataExtension.Msolap.SchemaCommand.GetModelMetadata(String catalogName, String perspectiveName, String supportedVersion, TranslationsBehavior translationsBehavior)&lt;BR /&gt;at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.&amp;lt;&amp;gt;c__DisplayClass10_0.&amp;lt;GetModelMetadata&amp;gt;b__0(IDbSchemaCommand command)&lt;BR /&gt;at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.ExecuteSchemaCommand[T](ExploreHostDataSourceInfo dataSourceInfo, IDbConnectionPool connectionPool, IConnectionFactory connectionFactory, IConnectionUserImpersonator connectionUserImpersonator, QueryExecutionOptionsBase queryExecutionOptions, ITelemetryService telemetryService, Func`2 action, String failTelemetryMessage, ServiceErrorStatusCode statusCode, ExploreBaseEvent exploreEvent)&lt;BR /&gt;--- End of inner exception stack trace ---&lt;BR /&gt;at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.ExecuteSchemaCommand[T](ExploreHostDataSourceInfo dataSourceInfo, IDbConnectionPool connectionPool, IConnectionFactory connectionFactory, IConnectionUserImpersonator connectionUserImpersonator, QueryExecutionOptionsBase queryExecutionOptions, ITelemetryService telemetryService, Func`2 action, String failTelemetryMessage, ServiceErrorStatusCode statusCode, ExploreBaseEvent exploreEvent)&lt;BR /&gt;at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.&amp;lt;&amp;gt;c__DisplayClass10_1.&amp;lt;GetModelMetadata&amp;gt;b__1(ExploreBaseEvent timedEvent)&lt;BR /&gt;at Microsoft.PowerBI.ReportingServicesHost.ExploreTelemetryService.&amp;lt;&amp;gt;c__DisplayClass4_0`1.&amp;lt;RunInActivity&amp;gt;b__0(ExploreBaseEvent activity)&lt;BR /&gt;at Microsoft.PowerBI.ReportingServicesHost.ExploreTelemetryService.RunInActivity(String activityName, Action`1 action)&lt;BR /&gt;at Microsoft.PowerBI.ReportingServicesHost.ExploreTelemetryService.RunInActivity[T](String activityName, Func`2 action)&lt;BR /&gt;at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.GetModelMetadata(ModelMetadataRequest request)&lt;BR /&gt;at Microsoft.PowerBI.ReportServer.ExploreHost.RSPowerViewHandler.GetModelCSDL(String id, String maxModelMetadataVersion, IASConnectionInfo&amp;amp; asConnectionInfo)&lt;BR /&gt;at Microsoft.PowerBI.ReportServer.ExploreHost.RSPowerViewHandler.&amp;lt;&amp;gt;c__DisplayClass41_0.&amp;lt;GetOrAddModel&amp;gt;b__0()&lt;BR /&gt;at System.Lazy`1.CreateValue()&lt;BR /&gt;at System.Lazy`1.LazyInitValue()&lt;BR /&gt;at Microsoft.PowerBI.ReportServer.ExploreHost.RSModelCache.GetOrAddModel(ModelKey key, Func`1 modelInfoFunc)&lt;BR /&gt;at Microsoft.PowerBI.ReportServer.ExploreHost.RSPowerViewHandler.EnsureSession(String modelId)&lt;BR /&gt;at Microsoft.PowerBI.ExploreHost.ExploreClientHandlerBaseFlow.&amp;lt;RunAsync&amp;gt;b__9_0()&lt;BR /&gt;at System.Threading.Tasks.Task.Execute()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;BR /&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt;at Microsoft.PowerBI.ExploreHost.ExploreClientHandlerBaseFlow.&amp;lt;RunAsync&amp;gt;d__9.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;BR /&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt;at Microsoft.PowerBI.ExploreHost.ExploreClient.&amp;lt;GetClientConceptualSchemaAsync&amp;gt;d__13.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;BR /&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt;at Microsoft.PowerBI.ReportServer.ExploreHost.RSExploreHost.&amp;lt;GetConceptualSchemaAsync&amp;gt;d__4.MoveNext()&lt;BR /&gt;--- End of stack trace from previous location where exception was thrown ---&lt;BR /&gt;at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;BR /&gt;at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;BR /&gt;at Microsoft.PowerBI.ReportServer.WebApi.PbiApi.PbiApiController.&amp;lt;GetConceptualSchemaAsync&amp;gt;d__25.MoveNext()&lt;BR /&gt;2024-06-25 09:22:19.9526|INFO|41|Sending response. Response code AMERICAS\Loc_Nguyen 200, Elapsed time 0:00:00.1049723| RequestID = 46c3c998-4e49-568a-9440-538cddde9124 ClientSessionID = 3ac90abb-67c9-437b-4029-8875fd901c7e&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to search the whole day, but found nothing. Please help.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 13:27:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4009188#M35616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-25T13:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4009532#M35633</link>
      <description>&lt;P&gt;Subject already covered in the following post.. &lt;A href="https://community.fabric.microsoft.com/t5/Report-Server/Issues-regarding-power-bi-report-server/m-p/3992811" target="_blank"&gt;Solved: Re: Issues regarding power bi report server - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I think it will help you !&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabien&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 16:32:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4009532#M35633</guid>
      <dc:creator>fabienChery</dc:creator>
      <dc:date>2024-06-25T16:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4011150#M35647</link>
      <description>&lt;P&gt;Thanks a lot for sharing how to solve the problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 11:34:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4011150#M35647</guid>
      <dc:creator>stanley_1913</dc:creator>
      <dc:date>2024-06-26T11:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4012102#M35661</link>
      <description>&lt;P&gt;I just created a new &lt;STRONG&gt;system variable&lt;/STRONG&gt; named&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;PBI_SQL_TRUSTED_SERVERS&amp;nbsp;&lt;/STRONG&gt;and put the &lt;STRONG&gt;server as its value&lt;/STRONG&gt;. I can do direct query to that SQL Server now.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 23:33:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4012102#M35661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-26T23:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4048130#M36044</link>
      <description>&lt;P&gt;I can't find where specifically i can perfom this , thanks in advance...&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 09:16:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4048130#M36044</guid>
      <dc:creator>ZeyadHussein</dc:creator>
      <dc:date>2024-07-18T09:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4048420#M36049</link>
      <description>&lt;P&gt;First find "Edit the system environment variables" from start menu&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="npvinhloc_0-1721302351747.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1134545i1F143C8A4A5F66A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="npvinhloc_0-1721302351747.png" alt="npvinhloc_0-1721302351747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then following steps below:&lt;/P&gt;&lt;P&gt;- Click on Environment Variables&lt;/P&gt;&lt;P&gt;- If there is nothing named&amp;nbsp;&lt;STRONG&gt;PBI_SQL_TRUSTED_SERVERS&amp;nbsp;&lt;/STRONG&gt;, Click New and then put the name and servers&lt;/P&gt;&lt;P&gt;- If the variable is there, you can select it and hit click Edit...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="npvinhloc_1-1721302526820.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1134547i43EC9C9D9448E362/image-size/medium?v=v2&amp;amp;px=400" role="button" title="npvinhloc_1-1721302526820.png" alt="npvinhloc_1-1721302526820.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this help&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 11:37:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4048420#M36049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-18T11:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4088929#M36349</link>
      <description>&lt;P&gt;Hey All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using PBIRS (on premise). I've used the direct query method; data is refreshing at the backend, but visuals are not refreshing automatically; all I have to do is click the refresh button to refresh visuals manually; is this a PBIRS bug in the Jan 2023 version, or do I need to adjust my query to refresh visuals automatically?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mariamasood_0-1723109803534.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1147208i0CE0DE74C5B68A24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mariamasood_0-1723109803534.png" alt="Mariamasood_0-1723109803534.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 09:37:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4088929#M36349</guid>
      <dc:creator>Mariamasood</dc:creator>
      <dc:date>2024-08-08T09:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4094374#M36369</link>
      <description>&lt;P&gt;其实你们一直都没有声明一个前提，你们的SQL SERVER 是否配置了加密链接？&lt;BR /&gt;&lt;FONT&gt;我想大部分出问题的用户，Sql server是没有启用加密链接的;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 03:35:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4094374#M36369</guid>
      <dc:creator>liyongfeng0606</dc:creator>
      <dc:date>2024-08-12T03:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4094455#M36371</link>
      <description>&lt;P&gt;20240812 更新：&lt;BR /&gt;1.如果Sql server 服务器启用了加密链接，在PQ链接数据源配置为加密；&lt;BR /&gt;2.如果Sql server服务器没有启用加密链接，那么按照大佬的建议两条路：&lt;BR /&gt;&amp;nbsp;a.修改链接字符串，添加&lt;SPAN&gt;“Encrypt=True;TrustServerCertificate=True”&amp;nbsp;，但是这个我尝试了很多方法，比如数据库底层直接修改数据源，PowerShell，前端post强制修改，都无法完成；因此这条路走不通；&lt;BR /&gt;--我个人猜测，这个字符串必须针对 sql server启用了加密链接的，按照方案1走，可以自动携带此参数；否则手工无法修改；&lt;BR /&gt;&lt;BR /&gt;b. 添加环境变量的方案（终于走通了）：&lt;BR /&gt;需要在用户和系统两个级别添加环境变量：PBI_SQL_TRUSTED_SERVERS；&lt;BR /&gt;--&lt;STRONG&gt;用户&lt;/STRONG&gt;（不是管理员账号，这个用户有特殊意义），应该为这个界面下对应的账号，所以你需要用这个账号登录Power BI Report server 服务器，然后在这个用户账号下配置环境变量(我这里是:*****e\co_bi)关键信息隐藏了，这是一个域账号；如果你用的是管理员，那就用管理员账号，根据真实情况定；&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liyongfeng0606_0-1723437720589.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1149008iF3756C8E7AF6592F/image-size/large?v=v2&amp;amp;px=999" role="button" title="liyongfeng0606_0-1723437720589.png" alt="liyongfeng0606_0-1723437720589.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--系统用户环境变量用具有管理权限的账号配置即可；&lt;BR /&gt;&lt;BR /&gt;配置如下（图仅供参考，我这里用的是管理员账号，但是真实环境请用上一步的用户账号登录进行配置用户变量)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liyongfeng0606_1-1723437951036.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1149012i6BBE91287547692A/image-size/large?v=v2&amp;amp;px=999" role="button" title="liyongfeng0606_1-1723437951036.png" alt="liyongfeng0606_1-1723437951036.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;-- 环境变量的值：对应的sql server 数据库的hostname；建议不要用IP；需要和你的报告的数据源配置保持一致吧；&lt;BR /&gt;不要这里用hostname，报告源配置为ip；&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="liyongfeng0606_2-1723438252025.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1149015iCAFBFA9383CB1297/image-size/large?v=v2&amp;amp;px=999" role="button" title="liyongfeng0606_2-1723438252025.png" alt="liyongfeng0606_2-1723438252025.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;好了，这就是配置的关键点：&lt;BR /&gt;&lt;BR /&gt;配置完后，记得重启电脑（服务器）；&lt;BR /&gt;&lt;BR /&gt;然后再尝试访问报告；恭喜你，应该是通了。&lt;BR /&gt;&lt;BR /&gt;如果有问题：&lt;BR /&gt;中国朋友请加微信：93636319，联系我。&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 04:52:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4094455#M36371</guid>
      <dc:creator>liyongfeng0606</dc:creator>
      <dc:date>2024-08-12T04:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4159683#M36812</link>
      <description>&lt;P&gt;Do you have any update on how to solve this one?&amp;nbsp;&lt;BR /&gt;thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 12:10:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4159683#M36812</guid>
      <dc:creator>dim_vas</dc:creator>
      <dc:date>2024-09-19T12:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4346175#M39065</link>
      <description>&lt;P&gt;You are right&lt;BR /&gt;and if you have multiable server seprate the names with COMMA (,)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="azaki_0-1735557091949.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1220655i6D89224E51CE7F50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="azaki_0-1735557091949.png" alt="azaki_0-1735557091949.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 11:11:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4346175#M39065</guid>
      <dc:creator>azaki</dc:creator>
      <dc:date>2024-12-30T11:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4738391#M41159</link>
      <description>&lt;P&gt;我在Power BI Server 服务器的环境变量中设置&amp;nbsp;&lt;SPAN&gt;PBI_SQL_TRUSTED_SERVERS&amp;nbsp; *&amp;nbsp; &amp;nbsp;，成功运行&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 07:57:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4738391#M41159</guid>
      <dc:creator>wangc</dc:creator>
      <dc:date>2025-06-20T07:57:26Z</dc:date>
    </item>
    <item>
      <title>Power BI report Server issue with Direct Query to SQL Server database</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4783533#M41533</link>
      <description>&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;I am still having issues trying to get access to the website. I log on and asked for access.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;A href="http://colo-sql-rpt01/Reports/powerbi/Business_User_Group/Clinical_Analytics/UM/Provider%20Search/Provider%20Search" target="_blank" rel="noopener noreferrer"&gt;http://colo-sql-rpt01/Reports/powerbi/Business_User_Group/Clinical_Analytics/UM/Provider%20Search/Provider%20Search&lt;/A&gt;s logging on to Power BI Provider Search.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daisygirl21_0-1753992869475.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1287753i698A4AB7DAC21405/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daisygirl21_0-1753992869475.png" alt="Daisygirl21_0-1753992869475.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 20:14:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-report-Server-issue-with-Direct-Query-to-SQL-Server/m-p/4783533#M41533</guid>
      <dc:creator>Daisygirl-21</dc:creator>
      <dc:date>2025-07-31T20:14:53Z</dc:date>
    </item>
  </channel>
</rss>

