Skip to main content

WorkplaceAnalytics.Data

Syntax

WorkplaceAnalytics.Data(
scopeId as text,
optional jobName as text,
optional jobId as text,
optional schemaType as text
) as table

Remarks

Import weekly metrics and attribute data from Workplace Analytics.

Examples

Example #1

Returns a table with visible attributes and per week metrics for each measured employee in the partition.

VivaInsights.Data("5f142ea5-c08a-eb02-de68-41dccdefb141")

Result:

#table({"Query1"}, {{"PersonId""}, {"PID"}})