Microsoft Power BI does not ship a dedicated, high-throughput native Workday connector that handles pagination and incremental loads automatically. Teams connect Power BI to Workday using either Reports-as-a-Service (RaaS) or the Workday Query Language (WQL) REST API via Power Query (Web.Contents).
The two interfaces behave very differently under load. RaaS has no native pagination—it streams one monolithic payload until it finishes or hits a timeout or memory wall. WQL supports native limit and offset pagination (up to 10,000 rows per page, backed by a 30-minute session cache), making it the safer choice for large, growing datasets.
RaaS vs. WQL for Power BI: Exact Technical Trade-Offs
Choose the interface based on dataset size, calculated-field dependency, and refresh cadence—not convenience.
| Dimension | Workday RaaS (Custom Report) | Workday WQL REST API |
|---|---|---|
| DimensionEndpoint Pattern | Workday RaaS (Custom Report)https://<host>/ccx/service/customreport2/<tenant>/<owner>/<report_name>?format=json |
Workday WQL REST APIhttps://<host>/api/wql/v1/<tenant>/data?limit=10000&offset=0&query=... |
| DimensionNative Pagination | Workday RaaS (Custom Report)None (single monolithic response) | Workday WQL REST APIYes (limit up to 10,000; zero-based offset) |
| DimensionSession Caching | Workday RaaS (Custom Report)None | Workday WQL REST APIResult set cached for the session up to 30 minutes |
| DimensionCalculated Fields | Workday RaaS (Custom Report)Full support for custom calculated fields | Workday WQL REST APISupported via exposed fields, but complex chained calc fields are easier in RaaS |
| DimensionOutput Formats | Workday RaaS (Custom Report)json, csv (&bom=true for UTF-8 BOM), xml, simplexml |
Workday WQL REST APIJSON ({ total, data }) |
| DimensionBest Fit in Power BI | Workday RaaS (Custom Report)Under ~50,000 rows, complex report logic, quick prototypes | Workday WQL REST API50,000–500,000+ rows, scheduled Power BI Service refresh, incremental loads |
| DimensionWhen to Stop Using Both | Workday RaaS (Custom Report)Exceeding Power BI Service timeouts or multi-million-row historical ledger tables → move to Workday Data Cloud / warehouse staging | Workday WQL REST APISame—avoid pulling millions of historical rows directly into Power BI on every refresh |
Step 1: Set Up the Integration Identity (ISU + Security)
Never authenticate a Power BI dataset with a human Workday login. Personal passwords expire, MFA blocks unattended refreshes, and employee departures break executive dashboards.
- Run Create Integration System User (ISU) with a dedicated account for Power BI (e.g.,
ISU_PowerBI_Analytics) and set Do Not Allow UI Sessions to checked. - Run Create Security Group of type Integration System Security Group (Unconstrained) or constrained as appropriate, and assign the ISU.
- Grant Get permissions only on the specific Security Domains required by your custom report data source or WQL data source (plus Workday Query Language domain permissions when using WQL).
- Run Activate Pending Security Policy Changes.
- For WQL REST API (and OAuth-secured RaaS): run Register API Client for Integrations, select the required functional scopes (including WQL), generate a non-expiring refresh grant tied to the ISU, and record the Client ID, Client Secret, Token Endpoint, and WQL Endpoint from View API Clients.
- For RaaS with Basic Auth (if OAuth is not enabled on your RaaS endpoint): verify the ISU is excluded from SSO/MFA policies via Edit Tenant Setup – Security Authentication Policies, and note that Basic Auth credentials should be stored securely in Power BI Service gateway/cloud connection settings—never hardcoded in M code.
Step 2: Connecting Power BI to Workday RaaS Safely
For small-to-medium custom reports (under ~50,000 rows and under ~50–100 MB uncompressed), RaaS is the fastest path into Power BI.
Optimize the Custom Report Before Connecting
- Use
format=csvfor flat tables,format=jsonfor nested multi-instance fields. CSV payloads are typically 40–60% smaller than JSON and parse dramatically faster in Power Query. Append&format=csv&bom=trueif special characters appear garbled. - Avoid heavy calculated fields on large unindexed data sources. Use an indexed data source whenever available (such as All Active and Terminated Workers or Indexed financial sources) and filter rows inside Workday—never pull 100,000 rows into Power BI just to filter down to 5,000 in Power Query.
- Do not use backslashes in the report owner username. Workday RaaS URLs embed the report owner’s username, and Workday documents that backslashes in the owner username break the endpoint. Transfer ownership of production RaaS reports to a dedicated service/admin owner so departures do not break URLs.
Chunking Large RaaS Reports via URL Prompts
Because RaaS cannot paginate with limit/offset, the only way to prevent timeouts on large RaaS reports is prompt-based chunking:
- Add Date Range prompts (e.g.,
Start_DateandEnd_Date) or Organizational prompts (e.g.,Company!WID) to the Workday custom report. - Remember to percent-encode exclamation marks in Workday ID prompt keys (
!WIDbecomes%21WID). - In Power Query, build a list of monthly or quarterly date slices (or company WIDs) and invoke a parameterized
Web.Contentsfunction for each slice usingRelativePathandQueryoptions so Power BI Service recognizes the static base URL and allows scheduled refresh.
let
FetchRaaSSlice = (startDate as text, endDate as text) as table =>
let
Raw = Web.Contents(
"https://wd2-services1.workday.com",
[
RelativePath = "ccx/service/customreport2/acme_tenant/svc_reporting/Worker_Events_RaaS",
Query = [
Start_Date = startDate,
End_Date = endDate,
format = "csv"
],
Timeout = #duration(0, 0, 10, 0)
]
),
Parsed = Csv.Document(Raw, [Delimiter = ",", Encoding = 65001, QuoteStyle = QuoteStyle.Csv]),
Promoted = Table.PromoteHeaders(Parsed, [PromoteAllScalars = true])
in
Promoted
in
FetchRaaSSliceUsing RelativePath and Query inside Web.Contents is critical: if you concatenate dynamic URL strings directly, Power BI Service rejects the dataset with a “dynamic data source” error and blocks scheduled refresh.
Step 3: Connecting Power BI to WQL with limit and offset Pagination
When a dataset exceeds ~50,000 rows or grows continuously, move to the Workday Query Language (WQL) REST API.
Key WQL Pagination Rules
- Endpoint:
GET https://<host>/api/wql/v1/<tenant>/data(orPOST /datafor long queries that exceed URL length limits). - Parameters:
limit(1 to10000) andoffset(zero-based starting index, starting at0). - Do not confuse
LIMIT(clause) withlimit(parameter): WritingLIMIT 500inside the WQL query string caps the entire result set at 500 rows and does not improve query execution time because Workday still evaluates the full result set first. Always omit the SQLLIMITclause when paginating and passlimit=10000&offset=0as REST query parameters. - 30-minute session cache: Workday caches the initial WQL result set for up to 30 minutes per user session. Passing
offset=0starts a fresh execution; subsequent pages (offset=10000,offset=20000, ...) read rapidly from that cache as long as you finish within 30 minutes.
Power Query M Pattern for WQL Pagination
Use List.Generate to loop through offset pages until the returned batch is smaller than pageSize (or reaches the total count returned by Workday):
let
BaseHost = "https://wd2-services1.workday.com",
RelPath = "api/wql/v1/acme_tenant/data",
WqlQuery = "SELECT worker, employeeID, hireDate, location FROM allActiveWorkers",
PageSize = 10000,
// Retrieve bearer header value from your OAuth helper query (stored securely outside hardcoded script)
AuthHeader = "Bearer " & GetWorkdayAccessCredential(),
GetPage = (offsetVal as number) as record =>
let
Response = Web.Contents(
BaseHost,
[
RelativePath = RelPath,
Query = [
limit = Number.ToText(PageSize),
offset = Number.ToText(offsetVal),
query = WqlQuery
],
Headers = [
Authorization = AuthHeader,
Accept = "application/json"
],
Timeout = #duration(0, 0, 5, 0)
]
),
Json = Json.Document(Response)
in
Json,
Pages = List.Generate(
() => [Offset = 0, Page = GetPage(0)],
each List.Count([Page][data]) > 0,
each [
Offset = [Offset] + PageSize,
Page = if List.Count([Page][data]) < PageSize
then [data = {}]
else GetPage([Offset] + PageSize)
],
each [Page][data]
),
AllRecords = List.Combine(Pages),
AsTable = Table.FromList(AllRecords, Splitter.SplitByNothing(), {"Row"}),
Expanded = Table.ExpandRecordColumn(AsTable, "Row", {"worker", "employeeID", "hireDate", "location"})
in
ExpandedAvoiding Power BI Service Timeouts and Memory Walls
Even with clean pagination, Power BI Service enforces strict refresh limits (typically 2 hours for Pro / Shared capacity, 5 hours for Premium/Fabric, plus dataset memory caps). Follow four operational rules:
- Enable Power BI Incremental Refresh: Define
RangeStartandRangeEndparameters in Power Query and pass them into your WQLWHEREclause (e.g.,effectiveDate >= ... AND effectiveDate < ...) or RaaS date prompts. Historical partitions stay frozen in Power BI; only the rolling active window queries Workday. - Finish WQL pagination inside 30 minutes: If your Power Query transformations are slow between page fetches, Workday’s 30-minute WQL session cache can expire mid-loop. Use
PageSize = 10000(the documented maximum) and defer heavy Power Query merges until after all pages are buffered. - Never refresh during Workday’s weekly maintenance window: Schedule Power BI Service refreshes outside Friday night / Saturday morning Workday service updates so transient 503 responses do not trigger false refresh alerts.
- Know when to introduce a staging warehouse: If your Power BI model needs multi-year payroll results, full general ledger line items, or joins across 15+ Workday objects, stop pulling directly from RaaS or WQL into Power BI. Stage Workday data via Workday Data Cloud (zero-copy into Snowflake/Databricks or Live Data Query) or an enterprise warehouse, and point Power BI there.
Troubleshooting Common Errors
| Symptom | Root Cause | Fix |
|---|---|---|
| Symptom“This dataset includes a dynamic data source” in Power BI Service | Root CauseFull URL concatenated dynamically in Web.Contents |
FixKeep base host static and move path/params into RelativePath and Query |
| SymptomHTTP 401 Unauthorized on scheduled refresh | Root CausePersonal account expired, MFA triggered, or OAuth access credential expired | FixSwitch to ISU + API Client refresh grant; verify ISU is exempt from SSO/MFA |
| SymptomHTTP 500 or Gateway Timeout on RaaS | Root CauseMonolithic report exceeded Workday or Power BI timeout | FixSwitch to format=csv, add date prompts to slice requests, or migrate to WQL |
| SymptomMissing columns or blank values in Power BI | Root CauseISU’s ISSG lacks Get permission on a domain or report field | FixCheck security domains for every column and run Activate Pending Security Policy Changes |
| SymptomDuplicate or skipped rows across WQL pages | Root CauseQuery lacked deterministic ORDER BY or session cache expired after 30 min |
FixAdd ORDER BY on a unique field, use limit=10000, and complete paging within 30 minutes |
Frequently asked questions
Does Workday RaaS support limit and offset pagination?
No. Workday RaaS returns a single monolithic HTTP response (JSON, CSV, or XML) with no native pagination parameters. To slice a large RaaS dataset, you must expose report prompts (such as date ranges or supervisory organizations) as URL query parameters or switch to the WQL REST API.
What is the maximum page size for the Workday WQL REST API?
The WQL REST API accepts a 'limit' query parameter up to 10,000 rows per page, paired with a zero-based 'offset' parameter. Workday caches the query result set for the user session for up to 30 minutes while you iterate through pages.
Why does my WQL query stop at 500 rows or fail to paginate?
Some Workday REST endpoints or default client wrappers default to smaller page sizes if 'limit' is omitted, or callers confuse the SQL-style 'LIMIT' clause inside the WQL string (which caps total rows evaluated) with the REST 'limit' and 'offset' query parameters used for pagination.
Should I use Basic Auth or OAuth 2.0 to connect Power BI to Workday?
Use an Integration System User (ISU) paired with an API Client for Integrations (OAuth 2.0 refresh grant) for WQL REST API and modern RaaS setups. Never bind a Power BI scheduled refresh to a personal employee account.
Sources checked
- Workday Developer: Concept – Reports as a Service (RaaS)
- Workday Admin Guide: Reports as a Service (RaaS) URLs and Parameters
- Workday Admin Guide: WQL REST API Pagination (limit and offset)
- Workday Admin Guide: Workday Query Language (WQL) REST API
- Workday Admin Guide: Report Performance and Limitations