FAQ, Troubleshooting & Support
This page covers the most common issues encountered when installing and operating Analytics for LS Central, along with step-by-step solutions. Use the quick-links below to jump to a section, or press Ctrl+F (Windows) / Cmd+F (Mac) to search this page — your browser will highlight every match in the text.
Compass — available on every Online Help page. Click the icon in the top-right corner. Compass covers the full breadth of LS Retail topics including LS Central configuration, licensing, and cross-product questions.
Frequently Asked Questions
Answers to the most common questions from partners and customers — covering licensing, setup, Power BI, data, and compatibility.
Licensing & Pricing
Yes. LS Retail does not charge a license fee for Analytics. The product is free to download and use for all LS Central partners and customers.
However, running Analytics does require third-party subscriptions that have a cost:
- Azure — for the SQL database and Azure Data Factory pipelines. A typical small setup costs around $100/month.
- Power BI Pro — approximately $10/user/month — required to publish and share reports.
Use the Analytics cost calculator to estimate your specific setup costs.
A license key is required to download Analytics packages. To request one, email LS Retail Licenses at Licenses@lsretail.com, or submit an Additional order request through the support portal.
Each partner can request one license key for their own testing and demos. Each customer needs their own key — the same customer key can be used across multiple environments and installations for that customer.
Once you receive the license key email, use the included download form link to get both the current and all future versions of Analytics.
Contact LS Retail Licenses at Licenses@lsretail.com and they will resend your license key. Have your company name and customer/partner details ready.
A customer license key can be used across multiple environments for the same customer (e.g. production, UAT, staging). However, each separate customer must have their own dedicated license key. Partner license keys are only for the partner's own testing and demos, and must not be used for customer installations.
The minimum for publishing and sharing Analytics reports is Power BI Pro (~$10/user/month). Power BI Free does not support sharing or publishing to the Power BI Service.
If you need larger report file sizes, AI capabilities, or paginated reports, consider Power BI Premium Per User (PPU) at ~$20/user/month. Power BI Pro licenses can also be purchased through LS Retail.
Note: Power BI Pro enforces a hard 1 GB file size limit per .pbix file. If your reports exceed this, PPU or Premium capacity is required — see Power BI Deployment Errors for details.
Getting Started & Setup
For the current version and a complete list of all available versions with release dates and features, see the Release Notes page.
You download Analytics through the form link included in the license key email from LS Retail Licenses (Licenses@lsretail.com). Re-submit that same form and select whether you want a full installation package or an update package. You will receive a download link by email within a few minutes.
The Release Notes page lists all available versions and their release dates.
Before starting the Analytics onboarding wizard you need:
- A valid Analytics license key
- LS Central 8.4 or later on-premises, or the latest LS Central SaaS version
- An Azure subscription with the rights to create resource groups, SQL servers, and Data Factory instances
- A Power BI Pro (or higher) account
- Access to a server or VM for the integration runtime gateway, if using on-premises LS Central
See the full prerequisites page.
There are four onboarding paths depending on your environment:
- LS Central on-premises + Analytics in Azure — the most common setup. Requires an integration runtime gateway.
- LS Central on-premises + Analytics database on-premises — keeps the DW on a local SQL server. Still requires Azure for ADF.
- LS Central SaaS + Data Director — uses Data Director replication from SaaS. Requires an offline store license and a scheduler machine.
- LS Central SaaS + bc2adls — the modern, recommended option for SaaS. Uses the bc2adls app to export data to Azure Data Lake Storage. Requires LS Central 27.0 or later.
See the onboarding overview to start the wizard for your scenario.
Costs vary by database tier, number of companies, and pipeline frequency. Typical estimates:
- Small business (1 company, S2 database, 1 run/day, 4 Pro users): ~$150-200/month
- Medium business (3 companies, S2, 1 run/day, 10 Pro users): ~$300-400/month
- Large SaaS business (many stores, S3, 20 PPU users): ~$600-900/month
Use the Analytics cost calculator for a tailored estimate. The S2 tier is the recommended minimum — do not run below S2.
Run this query against your Analytics DW database:
SELECT * FROM dbo.AnalyticsVersion
You can also check the version in the Analytics setup wizard.
Azure Data Factory (ADF) is Microsoft's cloud-based data integration service. Analytics uses ADF to run all pipelines that move data from LS Central into the data warehouse.
Yes, ADF is required for all Analytics setups. Even when the DW is hosted on-premises, ADF in Azure orchestrates the data movement. There is no option to run Analytics without ADF.
Navigate to Analytics Setup > Companies and add or remove the companies you want included. After changing the company list, run a pipeline manually to load data for newly added companies.
Companies not listed are excluded from all ADF pipeline runs — if a company's data is missing from reports, check this table first.
SaaS & Compatibility
Yes. There are two approaches for SaaS environments:
- Data Director replication — Requires an offline store license and a scheduler machine. Has known limitations around staging table growth over time.
- bc2adls (recommended) — A pure SaaS approach using Azure Data Lake Storage. No offline store license or scheduler needed. Preferred for all new SaaS setups.
bc2adls is a Business Central app that exports data from LS Central SaaS directly to Azure Data Lake Storage, where it is picked up by the Analytics ADF pipelines. Advantages over Data Director:
- No offline store license or dedicated scheduler machine needed
- Staging tables do not grow unboundedly — avoids the rapid DW growth issue
- Better suited to high-volume, multi-company environments
- Actively developed — future improvements will target this architecture
Analytics is designed to work with recent versions of LS Central. Always install the latest version of Analytics to ensure compatibility with your LS Central environment and to access all current dimension and fact tables.
See the Release Notes page for a complete list of all available versions and their features.
Power BI Reports
Analytics includes pre-built Power BI report templates: Sales, Finance, Inventory, Supply Chain, Hospitality, Bookings, Actionable Insights (ACI), and Hotels. See the Reports overview page for details on each template.
Yes. The Analytics data warehouse is a standard Azure SQL database with a star schema. Any BI tool that can connect to Azure SQL — such as Tableau, Qlik, Looker, or Excel — can query the DW directly.
Note that the built-in time intelligence calculations and cross-table measures are defined inside the Power BI semantic model, not in the database itself. If you use a different tool, you will need to recreate those calculations.
Data freshness depends on how often you schedule the ADF pipelines. The default and recommended schedule is once every 24 hours (overnight). More frequent runs are possible but will increase Azure Data Factory costs.
After each pipeline run, the Power BI semantic model must also be refreshed (scheduled or manual) before the updated data is visible in reports.
Installation & Deployment
This section covers errors during the deployment of Analytics, ordered by the stage in the installation process where they typically occur — from initial PowerShell deployment through to Power BI report setup.
Initial Setup Errors (PowerShell Deployment)
If your Az module is outdated, you will see this error when the deployment script creates the SQL database:
Creating a new Azure SQL database. This might take a few minutes... WARNING: Something went wrong :( Cannot bind argument to parameter 'StatusMessage' because it is an empty string.
Solution: Run PowerShell / VS Code as administrator, then check and update:
Get-InstalledModule Az Install-Module -Name Az -RequiredVersion 5.7.0
Verify the version is 5.7, then re-run the deployment script.
PowerShell may not trust the files from the ZIP, producing an error similar to:
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your computer. [D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"):
Solution: Run the following in the base folder of the Analytics product package:
dir -Path . -Recurse | Unblock-File
If you provide wrong credentials when deploying to an existing SQL server:
Creating a new Azure SQL database. This might take a few minutes... WARNING: Something went wrong :( Response status code does not indicate success: 400 (Bad request).
To verify: Go to the SQL server in Azure Portal > Import/Export history and click the database name to see the failure reason.
To recover: Re-run the deployment script with the correct credentials. If you re-run without closing VS Code, all parameters except passwords are retained — decline reuse of any incorrect values when prompted.
If you previously connected to a different subscription with a different user, Azure may default to the old subscription. Fix by explicitly specifying the tenant and subscription:
Connect-AzAccount -Tenant 'TenantIDfromAzure' -Subscription 'SubscriptionIDfromAzure'
If you encounter login errors, try logging out of your Azure account in Edge and clearing the browser cache.
Occasionally, Azure takes too long to create the SQL database and the deployment script times out. If this happens:
- In Azure Portal, open the SQL server from resources.
- From the left menu, select Settings > Import/Export history.
- Click the line for the database to see its status and start time.
- The import should finish within a few hours. If it fails, delete all created resources and re-run the deployment script.
Once the import completes, manually add companies using the AddCompanies.sql script (in the My-Project folder) before triggering the Initial Load in ADF. The license key is added automatically at the next update.
Power BI Deployment Errors
- Error during deployment of Analytics Power BI reports (Finance Report, Sales Report, or Actionable Insights templates).
- Deployment fails with an Azure Key Vault authorization error: user does not have permission to manage access to the Key Vault.
- File size exceeds the Power BI Pro 1 GB limit during report upload.
- Deployment script fails at the storage account creation step.
- Semantic model fails to refresh after deployment: "Operation on target Execute Stored Procedure failed."
Deployment failures typically have one of three root causes: (1) Insufficient Azure permissions — the deploying user must have Key Vault Contributor or equivalent rights; (2) Power BI Pro file-size cap — Pro licenses enforce a hard 1 GB limit that cannot be bypassed without upgrading to PPU or Premium capacity; (3) Outdated Analytics version — always deploy the latest version to avoid known script bugs.
- Always download and deploy the latest available version of Analytics.
- Verify Azure permissions: the deploying user needs Contributor on the Resource Group AND User Access Administrator on the Key Vault (or Owner on the subscription). Add missing roles in Azure Portal > IAM.
- If the error is a file size limit and the .pbix exceeds 900 MB, upgrade to Power BI Premium Per User (PPU) or Premium capacity. Power BI Pro cannot exceed 1 GB.
- If the script fails at storage account creation, check that the service principal or managed identity has Storage Account Contributor rights in Azure.
- For bc2adls deployments, confirm you are using the correct deployment path — SaaS LS Central + bc2adls uses a different script than on-premise. Refer to the Analytics Deployment Guide for your topology.
- After successful deployment, run a manual pipeline refresh in ADF and verify the Power BI semantic model refreshes without error.
- Key Vault authorization errors — fixed in version 2025.2. The deployment scripts were updated with RBAC-compatible Key Vault creation, managed identity authentication, and unique Key Vault naming to avoid global name collisions.
- Storage account creation failures — fixed in version 2026.1. The deployment was updated to use managed identity instead of access keys, and the storage account type and SKU were corrected for compatibility.
- Power BI Pro file size limit (1 GB) — this is a Microsoft Power BI platform limitation, not an Analytics issue. The only resolution is upgrading to Power BI Premium Per User (PPU) or Premium capacity.
See the Release Notes for full details.
Pipeline & Data Processing Errors
This section covers all errors related to Azure Data Factory pipeline execution, stored procedure failures, and data processing issues. If a pipeline has failed, start by checking ADF Monitor — hover over the talk-bubble icon in the error column to see the error message.
ADF Pipeline Run Failures (MERGE Statement Errors)
- Azure Data Factory pipeline fails during scheduled or manual execution.
- Error message references a MERGE statement conflict: "The MERGE statement attempted to UPDATE or DELETE the same row more than once."
- Pipeline fails on stored procedures such as
postfactUpdateInvAdjustedCost,factIncomeExpense, orBase FactSales. - Error type:
SqlOperationFailedorMicrosoft.DataTransfer.Common.Shared.HybridDeliveryException. - Pipeline may fail silently with no output — check ADF Monitor for activity-level errors.
- Failure may recur daily until the root cause is addressed (duplicate source rows accumulate over time).
The MERGE statement in Analytics stored procedures assumes each target row matches exactly one source row. When duplicate or multiple-version rows exist in the staging tables — typically caused by Data Director replication updating a row rather than inserting a new one — the MERGE cannot resolve which source row should win and throws SQL error 8672. This is a known limitation of the legacy replication method.
- In ADF Monitor, identify the exact pipeline and activity that failed. Note the stored procedure name in the error.
- Check whether two pipeline runs overlapped — this is the most common cause. Run the following query on the Analytics database to detect overlapping runs:
WITH RunLog AS ( SELECT [ADF Run GUID], MIN(PipelineStart) AS startDate, MAX(PipelineFinish) AS endDate FROM LSInsightAudit WHERE [ADF Pipeline Name] = 'All staging Tables' GROUP BY [ADF Run GUID] ), OverLap AS ( SELECT R1.[ADF Run GUID] AS RunID1, R2.[ADF Run GUID] AS RunID2, R1.startDate AS R1StartDate, R1.endDate AS R1EndDate, R2.startDate AS R2StartDate, R2.endDate AS R2EndDate, CASE WHEN (R1.startDate BETWEEN R2.startDate AND R2.endDate) OR (R1.endDate BETWEEN R2.startDate AND R2.endDate) OR (R1.startDate < R2.startDate AND R1.endDate > R2.endDate) OR (R1.startDate > R2.startDate AND R1.endDate < R2.endDate) THEN 'yes' ELSE 'no' END AS OverLapping FROM RunLog R1, RunLog R2 WHERE R1.[ADF Run GUID] <> R2.[ADF Run GUID] ) SELECT * FROM OverLap WHERE OverLapping = 'yes'
If overlapping runs are found, run a Factory Reset to clear the resulting duplicate rows. - Check the staging tables for duplicate rows. The following script scans all staging tables automatically and reports any duplicates found:
DECLARE @column_list NVARCHAR(MAX), @sql NVARCHAR(MAX), @table_name SYSNAME DECLARE CUR CURSOR FOR SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA = 'dbo' AND TABLE_NAME LIKE 'stg$%' OPEN CUR FETCH NEXT FROM CUR INTO @table_name WHILE @@FETCH_STATUS = 0 BEGIN SELECT @column_list = '' SELECT @column_list = @column_list + '[' + C.COLUMN_NAME + '], ' FROM INFORMATION_SCHEMA.COLUMNS C WHERE C.TABLE_NAME = @table_name AND C.TABLE_SCHEMA = 'dbo' SELECT @column_list = SUBSTRING(@column_list, 1, LEN(@column_list) - 1) SELECT @sql = 'SELECT ''' + @table_name + ''' AS TABLE_NAME, ' + @column_list + ' FROM [dbo].[' + @table_name + '] GROUP BY ' + @column_list + ' HAVING COUNT(*) > 1' EXEC sp_executesql @sql FETCH NEXT FROM CUR INTO @table_name END CLOSE CUR DEALLOCATE CUR
- Also check for duplicates in dimension tables:
DECLARE @column_list NVARCHAR(MAX), @sql NVARCHAR(MAX), @table_name SYSNAME DECLARE CUR CURSOR FOR SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA = 'DW' AND TABLE_NAME LIKE 'd%' OPEN CUR FETCH NEXT FROM CUR INTO @table_name WHILE @@FETCH_STATUS = 0 BEGIN SELECT @column_list = '' SELECT @column_list = @column_list + '[' + C.COLUMN_NAME + '], ' FROM INFORMATION_SCHEMA.COLUMNS C WHERE C.TABLE_NAME = @table_name AND C.TABLE_SCHEMA = 'DW' AND COLUMN_NAME NOT LIKE 'SK_%' SELECT @column_list = SUBSTRING(@column_list, 1, LEN(@column_list) - 1) SELECT @sql = 'SELECT ''' + @table_name + ''' AS TABLE_NAME, ' + @column_list + ' FROM [DW].[' + @table_name + '] GROUP BY ' + @column_list + ' HAVING COUNT(*) > 1' EXEC sp_executesql @sql FETCH NEXT FROM CUR INTO @table_name END CLOSE CUR DEALLOCATE CUR
- If duplicates are confirmed, run a Factory Reset (Analytics Setup > Factory Reset) to clear staging tables and reload from source. This may take several hours on large datasets.
- After the Factory Reset, re-run the pipeline manually and confirm all activities complete successfully.
- If the error persists, consider increasing the Azure SQL service tier — insufficient tempdb space (S2 = 14 GB only) can cause this error. Upgrade to S3 or above.
- If you are on an older version of Analytics, this error may already be fixed in a newer release. See the Fix availability section below and upgrade to the latest version.
- If none of the above resolves the issue, it may be a bug in the stored procedure caused by a data pattern not covered in testing. Please contact support with the stored procedure name, the output of the duplicate-check scripts above, and the ADF overlap check results.
- Confirm resolution once two consecutive daily pipeline runs complete without error.
Deduplication logic has been added to the affected stored procedures across several releases:
- Version 2024.2 — Initial deduplication fix for cost adjustment procedures.
- Version 2025.2 — Extended deduplication to additional inventory and cost entry procedures.
- Version 2026.2 — Further deduplication applied to monthly inventory valuation procedures (both classic and bc2adls pipelines).
Always upgrade to the latest available version. See the Release Notes for full details.
Connection and Runtime Errors
Operation on target LookupCurrentWaterMark failed: ErrorCode=SqlFailedToConnect, Message=Cannot connect to SQL Database... Login failed for user 'skynet'.
Check these ADF parameters:
$SourceServerName$SourceDatabaseName$SourceUserName$SourcePassword
Use SQL user credentials — not Windows user credentials. Analytics does not support Windows authentication. Verify connectivity via SQL Server Management Studio on the integration runtime machine, or test the connection from the LSCentralSource linked service in ADF.
If the pipeline fails at the first step with a timeout error, there is likely an issue with the linked service connection. Test both linked service connections in the Azure Data Factory studio. If either fails, revisit the onboarding steps. You may also need to check firewall settings on the customer's side.
The Self-hosted Integration Runtime 'LSInsight-integrationRuntime' is offline, last connect time is '06/03/2020 16:43:56.832'.
The machine running the integration runtime gateway has been turned off. This machine must be up and running whenever pipelines are scheduled, and it must have access to the source database using the credentials in the parameter file.
Operation on target Populate dCompany failed: Sql error number: 208. Error Message: Invalid object name 'stg$Accounting Period'.
The company name is missing from the LSInsight$Companies table. Use the "Add or Delete Companies" pipeline in ADF to add the missing companies.
This error occurs when the default KPI packs are being loaded into Actionable Insights (ACI), but the fact tables in the Analytics database are not yet populated with data.
Solution: Run a complete pipeline cycle first to populate the fact tables with transactional data. Only after the initial load completes should you load the KPI packs. If the error persists after data is loaded, verify that the user or service principal has db_datawriter rights on the Analytics database.
This means your Azure SQL database does not have enough temporary storage for the MERGE or stored procedure operations. This is directly tied to the Azure SQL service tier:
- S2 tier — 14 GB tempdb (often insufficient for initial load or large datasets)
- S3 tier — significantly more tempdb space (recommended minimum)
Solution: Temporarily increase your Azure SQL database to S3 or higher in Azure Portal (SQL database > Compute + storage > Service tier). Run the deployment or pipeline, then scale back down once complete.
Replication — LS Central SaaS-Specific Errors
The SaaS replication process can sometimes produce errors. Even if a replication job is started from LS Central, it can fail during run in the Data Director. We recommend monitoring the first few runs of new replication jobs using the Configuration tool and job monitor.
This error usually occurs in the INS_ACTIONS or INS_NORMAL_COUNT jobs because one or more subjobs has the Move Actions flag enabled.
- Open LS Central on the scheduler server, navigate to the Scheduler Subjob List page, and filter on job ID
INS_A. - Open each subjob and check if the Move Actions flag is enabled. Do the same for all jobs starting with
INS_NWC. Disable the flag where found.
Caused by a bug in LS Central, fixed in version 22. The scheduler server environment likely needs to be updated. This can occur on any field of type Duration. Empty duration fields were also fixed in Data Director version 3.02.138.
Caused by missing web service requests in the SaaS environment. Revisit the steps for publishing these requests in the online help. To verify, navigate to Web Service Setup in LS Central and select Web Request 1.0 — the list should include GET_TABLE_DATA and GET_TABLE_DATA_BY_PRIMARY_KEY.
If the SaaS and on-premises LS Central environments do not share the same version, Data Director can error on fields that exist in one environment but not the other.
Solution: Check "Ignore extra fields" in the DD Configuration tool, and the job will run.
If you attempt to replicate using the hotel scheduler job but the on-premises LS Central environment does not include the hotel extension, the replication job will fail.
Solution: Add the hotel app from the partner portal to your on-premises LS Central environment. If you do not use the Hotels module, do not run the hotel scheduler job.
Missing Data & Report Issues
If Power BI reports show partial or no data after setup or after pipeline runs, this section covers the most common causes and solutions.
No Data or Missing Data in Power BI Reports
- Power BI report pages show no data or blank visuals — other pages in the same report may work normally.
- Finance Report, Actionable Insights, or Sales Report templates show empty charts after deployment.
- Data is present in LS Central or the DW database but not reflected in Power BI.
- Certain date ranges are missing from transaction data (e.g. specific weeks or months absent from fact tables).
- Report worked previously but stopped showing data after a pipeline failure or DW reset.
Missing data is almost always caused by a pipeline failure upstream — the Power BI report itself is fine, but data was never loaded into the DW or the semantic model was not refreshed. Secondary causes include: incorrect date filters hiding data; the Finance Report requiring a Chart of Accounts mapping in LS Central before data appears; or transaction data falling outside the DW retention window after a Factory Reset.
- Check the ADF pipeline run history for the affected date range. If a pipeline failed, fix the underlying error first (see ADF Pipeline Run Failures or Stored Procedure Errors in the Pipeline section) and re-run.
- In the Power BI Service, manually trigger a semantic model refresh (Dataset > Refresh now). Check the refresh history for errors.
- Verify date slicers and filters are not excluding the expected data range. Clear all filters and check if data appears.
- For Finance Reports: confirm the Chart of Accounts mapping has been completed in LS Central. See: Finance Report Troubleshooting.
- For missing data after a Factory Reset: the DW only loads data from the point the reset was initiated. Historical data must be re-loaded by running the pipeline with an explicit historical start date in the ADF parameter.
- If specific company data is missing, check that the company is listed in Analytics Setup > Companies. Companies not listed are excluded from all pipeline runs.
- If the issue persists, please contact support.
Several fact table population bugs that caused missing data have been fixed:
- Version 2025.2 — Fixed GL Account Category mapping for Finance Reports, and corrected a join issue in hotel revenue data that caused duplicate or missing rows.
- Version 2026.1 — Fixed a bug where the Income/Expense fact table was not populated due to a missing statement in the incremental load logic.
- Version 2026.3 — Corrected a legacy cost amount calculation that was not ported to the bc2adls pipeline, which could cause incorrect or missing sales data.
If you are experiencing missing data, upgrading to the latest version is strongly recommended. See the Release Notes for full details.
For the full missing-data troubleshooting process, see Troubleshooting Data in Analytics.
Discrepancies between Analytics and LS Central figures are usually caused by one of the following:
- Pipeline ran mid-day — Analytics captures a point-in-time snapshot. If the pipeline ran overnight and you are comparing to end-of-day LS Central figures, data from that day may be partially loaded.
- Company filter — confirm you are comparing the same company in both systems. Multi-company setups can cause confusion.
- Date/time zone differences — check how transactions are timestamped in LS Central vs the date filters used in Analytics reports.
- Posted vs. unposted transactions — Analytics loads only posted transactions. Unposted entries in LS Central will not appear.
- Negative cost values — if the discrepancy is in margin calculations, check for negative
CostAmountLCYvalues in the fact table, which can affect margin figures in Power BI.
To compare amounts between the prestaging and fact tables directly, use this query template (adjust the company prefix, date range, and table GUID for your environment):
-- Prestaging table (adjust company prefix and GUID) SELECT [Store No_], COUNT(*), SUM([Net Amount]) AS [Net Amount], SUM([Vat Amount]) AS [Vat Amount] FROM [CompanyPrefix$LSC Trans_ Sales Entry$your-guid-here] WHERE [Date] >= '2024-01-01' AND [Date] < '2024-02-01' GROUP BY [Store No_] -- FactSalesPosted SELECT [Posting Date], dL.ReportingStore AS [Store No_], SUM([NetSalesAmountLCY]) AS [Net Amount], SUM([VATAmountLCY]) AS [Vat Amount] FROM DW.FactSalesPosted FSP LEFT JOIN DW.dLocation dL ON dL.SK_Location = FSP.SK_Location WHERE [Posting Date] >= '2024-01-01' AND [Posting Date] < '2024-02-01' GROUP BY ReportingStore, [Posting Date] ORDER BY [Posting Date]
If the totals differ, the gap indicates where data was lost in the pipeline — either during staging, the MERGE into fact tables, or due to a filter in the stored procedure.
Database Storage & Growth
Data Warehouse Database Growing Rapidly
- Analytics DW database growing rapidly — several GB per day with no sign of stabilizing.
- Azure SQL database approaching its allocated storage limit.
- Staging tables are the largest space consumers (e.g.
stg$Trans_Sales_Entry). - Pipeline run time increasing as staging tables grow.
- BI Scheduler Job error: "Invalid URI: The format of the URI could not be determined."
When using the legacy Data Director replication method, updated rows in LS Central generate a new staging table row rather than updating the existing one. Old versions accumulate indefinitely and are never purged. This is a known architectural limitation of Data Director replication.
- Confirm the replication method: Data Director (legacy) or bc2adls (current). This issue is specific to Data Director replication.
- Identify the largest staging tables:
SELECT TOP 10 t.NAME, p.rows, SUM(a.total_pages) * 8 AS TotalSpaceKB FROM sys.tables t JOIN sys.partitions p ON t.object_id = p.OBJECT_ID JOIN sys.allocation_units a ON p.partition_id = a.container_id WHERE t.NAME LIKE 'stg$%' GROUP BY t.NAME, p.rows ORDER BY TotalSpaceKB DESC
- For immediate relief, increase the Azure SQL storage tier to prevent pipeline failure.
- Implement a staging table purge. Starting with version 2026.3, Analytics includes a built-in data retention policy and automated purge pipeline — see the fix availability section below. On earlier versions, contact support for the manual purge script.
- For a permanent fix, plan a migration from Data Director to bc2adls. The bc2adls connector does not exhibit this growth pattern.
- If BI Scheduler Job errors appear after a storage tier change, verify the ADF Linked Service connection string still points to the correct SQL server endpoint.
- Monitor staging table sizes weekly after the purge to confirm growth has stabilized.
Version 2026.3 introduced a comprehensive data retention and purge system:
- Data retention policy — a configurable retention table that lets you define how long data is kept per staging table, with enable/disable control per table.
- Automated purge pipeline — a new ADF pipeline that runs the purge automatically on schedule, deleting old rows in controlled batches to avoid locking or performance impact.
- Row compression — applied to fact and staging tables to reduce storage footprint.
If you are on version 2026.3 or later, you can enable the built-in purge instead of running manual cleanup scripts. See the Release Notes for configuration details.
Reset Data Warehouse (Factory Reset)
The Factory Reset pipeline in Azure Data Factory recreates the whole data warehouse by dropping all staging tables, truncating dimension and fact tables, updating the query base, and re-fetching all data from LS Central.
The Factory Reset is recommended in these scenarios:
- Duplicate rows in staging tables causing errors in fact table procedures — most likely due to two pipelines running simultaneously.
- Data imported with old timestamps — causes gaps in fact tables since they only process staging tables based on the newest timestamp from the previous run.
- After extending Analytics — always run a Factory Reset after extensions to reset the query base, staging tables, and dimension/fact tables.
Update Analytics
All releases contain an update package for the previous version, enabling easy updates without a full re-setup.
If there are new staging tables in the release, run the Populate Querybase pipeline in ADF before refreshing data:
| Parameter | Value |
|---|---|
PopulateQueryBase
|
TRUE — always set to TRUE when running this pipeline. |
GetLSCentralMetadata
|
Set to TRUE only if new tables have been added to LS Central that need to be added as staging tables in the Analytics database. |
Once Populate Querybase has finished, trigger the Scheduled Run pipeline to refresh the data.
If You Need to Contact Support
We want to help you resolve issues as quickly as possible. Many common issues can be solved using the resources on this page or our AI assistants. If you have worked through the relevant troubleshooting steps and the issue persists, we are here to help.
Self-service resources
| Resource | How it helps |
|---|---|
| This troubleshooting page | Step-by-step solutions for the most common Analytics issues, covering installation, pipelines, replication, Power BI, and data issues. |
| Ask Analytics | AI assistant covering all Analytics topics. Available on the Analytics for LS Central page — click the Ask Analytics button in the bottom-right corner of that page. |
| Compass | LS Retail-wide AI assistant for cross-product questions, LS Central configuration, and licensing. Available on every Online Help page — click the icon in the top-right corner. |
| Analytics Online Help | Complete documentation including deployment guides, configuration guides, and report-specific help. |
Submitting a support request
If the issue originates from an LS Retail product and cannot be resolved through the resources above, submit a ticket through the partner support portal:
What to include in your request
Including the right information from the start helps us resolve your issue much faster:
| Information | Details |
|---|---|
| Issue description | What happened, and what you expected to happen instead. |
| Steps to reproduce | Numbered steps that reliably reproduce the error. |
| Screenshots and error messages | Full-screen screenshots and the complete error text — this is often the most helpful piece of information. |
| Analytics version | The exact Analytics version number. Found in the setup wizard or the Analytics database version table. |
| LS Central version | The exact LS Central version running in the customer environment. |
| Environment topology | SaaS or on-premise? Replication method: Data Director or bc2adls? Hybrid setup? |
| ADF pipeline logs | For pipeline errors: the failed pipeline run details from ADF Monitor, including activity-level error output. |
| SQL error details | For database errors: the full SQL error message including error number, severity level, and stored procedure name. |