This model has been built to provide maximum flexibility to the user. But, providing so many different ways to build reporting, does mean that errors can be made and charts can be constructed in a way that does not produce correct results. To ensure you are getting the results you want, there are a few important things to bear in mind:
Start from a measure
Every widget should start from the Measures table that matches your question, such as Measures - Enrolment Completions for “how many courses were completed” or Measures - Course Launches for “how often are courses opened”. Then add detail from the Users and Content tables.
The table below lists each measures table in the data model and the questions it can answer.
| Measures table | Example questions it answers |
| Measures - Enrolment Creations |
|
| Measures - Enrolment Completions |
|
| Measures - Course Launches |
|
| Measures - Object Launches |
|
| Measures - Object Completions |
|
| Measures - Object Progress |
|
| Measures - Level Progress |
|
| Measures - Course Ratings |
|
| Measures - Comments |
|
| Measures - Events Session Signups |
|
| Measures - Events Schedule Signups |
|
| Measures - xAPI (optional) |
|
| Measures - Skill Assessments (optional) |
|
Combining data from different tables
Whenever you use columns from multiple tables (whether they are in widgets or a filter that is applied) the data from the tables is combined to generate the results.
The overall structure of the data model:
LP Platform Analytics data model diagram
What works
- A measure with Users and Content. For example, Number of Completed Enrolments by User Location and Course Name. Measures join to both, so this always works.
- Using the “with enrolments” filter with Users and Content. You can add the “with enrolments” column as a filter and set it to “true”. This forces the tables you are using to be joined via the enrolment creation measure table without you having to include a measure in your chart. If you had a widget of user information and course it might be using the “Course Launch” measures table to combine these tables, meaning you are viewing users that have launched the course. If you wanted all the users that have been enrolled on the course, you could being in a measure from the enrolment creations table, or add the “with enrolment” filter.
- Enrolment details alongside related measures. The Enrolments table links to several measures, so you can show, for example, an enrolment’s due date and compliance status next to the number of course launches for that enrolment.
- Events measures with event details. For example, Number of Session Signups by Session Name and Session Attendance Status.
What to avoid
- Creating a widget with course and user data, but no measures. The user and content tables are not directly connected, so Analytics will have to use a “measures” table (such as course launches) to connect the two. This will happen in the background and you won't have visibility of which measures table has been selected for use. This will impact the users and courses that you see and how they are linked. Resolved by including a measure or using the “with enrolments” column as a filter.
- Two unrelated measures in one widget. For example, Session Signups and course launches in the same widget.
- Combining the Date filter with User or Content data and NO measure table. There is no direct path between user and content tables and the date filter table. A measures table will be used to combine these data sets. If you do not explicitly use a measures table in your widget of filters, one will be selected for in the back end which will impact your results without you being aware of the impact.
- Grouping a measure by a table it doesn’t link to. If the numbers look the same on every row, or far higher than expected, the table you’ve grouped by probably isn’t connected to your measure.
Using dates
The Date Filter table is a shared calendar that can filter several measures by the same dates. It’s useful on dashboards where many widgets need to follow one date range.
In most cases, though, it’s easier and clearer to use the specific date in the measures table you’re working with, for example Enrolment Completion Date or Course Visit Date. That way, you know exactly which date the filter applies to.
- One measure in the widget? Use that measure’s own date.
- One date range across a whole dashboard? Consider the Date Filter, and check each widget still shows what you expect.
- Date fields show years by default. Use More on the field to change it to months, weeks or days.
Time variance and “Current Versions” of courses and user
Time variance is an option that can be switched on for your organisation when the model is set up. With it on, the model keeps a history of your users and LXP content. Each time something changes, such as a learner moving to a new manager or team, or a course being renamed, a new version is saved and the old one is kept.
Activity in the measures tables is then linked to the version that existed at the time of the activity. For example, if a learner completes some enrolments and then moves to a new manager, those completions stay linked to their original manager and team. This lets you report on what things looked like at the time, rather than how they look today.
Because there can be several versions of the same user or course, the Users and Content tables include a Current Version field. It’s true for the latest version and false for older ones. Without time variance, there’s only ever one version of each user and course, so every record is the current version. Bear in mind that filtering down to the “Current version” of a user or course will also filter out all the enrolments and activities / measures related to those older versions.
Best practices
- Count, don’t list. Use the measure’s count fields rather than counting IDs yourself, unless you need distinct people or items.
- Include people and content with no activity. To show every user or course, including those with no activity, add All Users or All content to the widget. For enrolments, add With Enrolments.
- Check Current Version. If your organisation keeps historical versions of users and content, filter Current Version to true when you want each person or course to appear once with their current details.
- Use Is Live for current enrolments. Is Live shows enrolments a learner can currently access, so expired or closed ones don’t distort the numbers.
- Show how up to date the data is. Add Latest Refresh Date from the Metadata table to your dashboard.
Next steps
- What the LP Platform Analytics data model contains
- LP Platform Analytics: data dictionary
- How widgets count and aggregate
- Setting up filters