Which of the following connection strings correctly connects Power BI to a SQL Server instance named SQLPROD01 on the default port, using Windows Authentication?
Windows Authentication uses Trusted_Connection=True or Integrated Security=True.
Option D uses Trusted_Connection=True, which enables Windows Authentication. It specifies the server and database correctly without specifying a port, which defaults to 1433.
You have a table RefreshLog with columns RefreshDate and Status. You want a DAX measure that returns the count of successful refreshes in the last 7 days.
Which measure produces the correct result?
Use FILTER inside CALCULATE to apply multiple conditions correctly.
Option C correctly filters rows where Status is "Success" and RefreshDate is within the last 7 days (greater or equal to TODAY() - 7).
You have imported SQL Server query performance data with columns QueryName, ExecutionTime (in milliseconds), and ExecutionDate. You want to visualize trends of execution time for multiple queries over the last month.
Which visualization type is best suited for this purpose in Power BI?
To show trends over time for multiple categories, use a line chart with series.
Option B allows you to see how execution time changes over dates for each query separately, making trends easy to spot.
You try to connect Power BI to a remote SQL Server but get a timeout error. Which of the following is the most likely cause?
Timeout errors usually relate to network or server settings.
If SQL Server does not allow remote connections, Power BI cannot connect and will timeout. Other options do not cause connection timeout.
You are using DirectQuery mode to connect Power BI to a large SQL Server database. To improve report performance, which modeling practice is best?
Good data modeling and pushing calculations to the source improves DirectQuery performance.
Option A follows best practices: star schema simplifies queries, minimizing calculated columns reduces load, and pushing calculations to SQL Server leverages its power.