Troubleshooting Data in Analytics

This article explains debugging issues regarding missing data in the Analytics Power BI reports. There can be multiple reasons for missing data and these are explained, step-by-step.

Azure Data Factory

Troubleshooting Data in Analytics

Troubleshooting Data in Analytics

Azure Data Factory

If the Power BI report templates are completely blank when you have connected them to Analytics data warehouse and loaded data, then the first thing you need to make sure of is that the Initial load of the data using the Azure data factory (ADF) has been run successfully and that other subsequent runs of Scheduled run pipeline are also running without errors.

It is very important when setting up Analytics, that the Initial load pipeline is triggered and allowed to finish before any other pipeline is triggered. It is also very important to not schedule more than one Scheduled run pipeline at a time because that can cause duplication of data, which causes issues with merging data into the fact and dimension tables.

Check for Initial load completion and that all pipelines are running

The best way to check if the ADF has any errors is to login to the Azure portal, find your data factory and press “Launch studio” which opens in a new browser tab.

In the ADF studio you should see a few options on the left side of the screen. One of the options is the monitor. Press the monitor and it should show you the log for the ADF pipeline runs in the last 24 hours. You might need to adjust the filter if it has been a long time since you set up Analytics.

If the Initial load pipeline and subsequent Scheduled run pipelines have status Succeeded then the issue does not lie with the data factory and you can move on to the next section about checking whether the Troubleshooting Data in Analytics have data and how to troubleshoot that.

If you can not find any trace of the Initial load or Scheduled run pipelines being run then you should run Factory reset pipeline to reset the data warehouse completely and then refresh the report where you could not see any data after the pipeline has finished successfully.

If any of the pipelines have the status “Failed”, you need to figure out where the error is coming from. How to do this is explained in the error tracing sections below.

If issues in the pipelines have been resolved by the previous steps then it is likely that refreshing the semantic model in Power BI desktop or service is enough for the report to be populated with data and you can refer to the Power BI section.

If it does not please continue to the section that fits your LS Central source platform in the next chapter to check whether the data warehouse tables have been populated with data.

If you have LS Central on-prem, and your ADF is running without any errors, you should start by checking whether there is any data in the fact tables.

Each fact table depends on multiple tables, but most of them have one main staging table and then multiple dimension tables. Some of the more complex fact tables depend on multiple staging tables, f.x. the FactSalesPosted table depends on three staging tables.

If you have LS Central SaaS and are having issues with the data delivery, we recommend that you first check the prestaging tables to see whether the replication jobs are working. That is, replicating data from LS Central SaaS to the prestaging tables.

Once you have made sure the data has been replicated to the prestaging tables you can go ahead and run the Scheduled run pipeline and check whether the fact and dimension tables have been populated correctly as explained in the chapters above. When the fact tables have been populated a refresh of the semantic model in Power BI desktop or service should be enough for the report to be populated with data and you can refer to the Power BI section.

Refresh Power BI and check for filters

If Scheduled run or Factory reset pipeline has been run successfully and you have verified that there is data in tables that were previously empty you can refresh the Power BI, either manually in Power BI desktop or Power BI service or schedule an automatic refresh of the semantic model.

Once the report has been refreshed it should contain the data that was missing.

If you have done all this and the data still does not seem right, you should check if you have any filters set on the report pages or visuals that are filtering the data in unexpected ways. If you find filters that you do not want, you can simple remove them and more data will be displayed.

If missing data is not caused by filters then please register your issue in the support portal, stating the steps you have taken to troubleshoot the issue and we will assist you.