You want to import data from a web API that requires authentication. Which method should you use in Power BI to securely connect and import the data?
Think about how Power BI handles secure connections and credentials for web sources.
Power BI's Web connector supports various authentication methods. Selecting the correct authentication type ensures secure and successful data import.
You have a table 'WebRefreshLog' with a column 'RefreshDateTime' recording each time the web data import refreshes. Write a DAX measure to count how many refreshes happened in the last 7 days.
RefreshCountLast7Days = CALCULATE(COUNTROWS(WebRefreshLog), FILTER(WebRefreshLog, WebRefreshLog[RefreshDateTime] >= TODAY() - 7))Remember that CALCULATE changes filter context and FILTER creates a table to filter on.
Option A correctly uses CALCULATE with FILTER to count rows where the refresh date is within the last 7 days.
You want to create a dashboard visual showing the success or failure of web data imports over the past month, updated daily. Which visualization type best shows trends and status clearly?
Think about how to best show trends over time with multiple categories.
A line chart with separate lines for success and failure counts per day clearly shows trends and comparisons over time.
Your Power BI web data import query fails with an error: "Access denied". You confirmed the URL and credentials are correct. What is the most likely cause?
Think about common web API security requirements beyond credentials.
Many web APIs require specific headers like user-agent for access. Without them, the server may deny access even if credentials are correct.
You have imported web data logs with columns: 'ImportID', 'StartTime', 'EndTime', 'Status'. You want to analyze average import duration by status and filter by date ranges efficiently. Which data model design is best?
Think about best practices for time calculations and filtering in Power BI models.
Calculated columns for duration allow easy aggregation. A separate Date table linked to StartTime enables efficient and flexible date filtering.