Zum Inhalt springen
Search the hub

← All suppliers

Workplace

SharePoint

Collaboration: site/drive/list meta, sharing — Graph load; no file binaries.

Templates only — grain, filters, custom fields and ownership are firm-specific.

Copy formulas into the KPI Definition Card, then adapt grain and filters.

Example

Sites active

How many sites had modifications in the period?

COUNT(DISTINCT site.id) WHERE lastModifiedDateTime IN period OR driveItem.lastModifiedDateTime IN period
Grain
Site with activity
Fields
Site.id, Site.lastModifiedDateTime, DriveItem.lastModifiedDateTime
Dimensions
site, drive, sensitivity

Activity via site or item lastModified — lock definition.

Adapt: Optionally exclude OneDrive personal sites.

Example

Files created

How many files were created in the period?

COUNT(*) FROM drive_item_meta WHERE file IS NOT NULL AND createdDateTime IN period
Grain
DriveItem (file)
Fields
DriveItem.id, DriveItem.createdDateTime, DriveItem.file.mimeType
Dimensions
site, drive, content_type, sensitivity

file facet set = file (exclude folders).

Adapt: Optionally separate uploads vs Office create via createdBy app.

Files modified

How many files were modified in the period?

COUNT(*) FROM drive_item_meta WHERE file IS NOT NULL AND lastModifiedDateTime IN period
Grain
DriveItem (file) modified
Fields
DriveItem.id, DriveItem.lastModifiedDateTime, DriveItem.file.mimeType
Dimensions
site, drive, content_type

lastModifiedDateTime; avoid double-counting create-only when created=modified.

Adapt: Lock distinct files vs modification events.

Sharing links active

How many sharing links are active (not expired)?

COUNT(*) FROM share_link WHERE expirationDateTime IS NULL OR expirationDateTime > now()
Grain
Active share link
Fields
ShareLink.id, ShareLink.link.scope, ShareLink.expirationDateTime
Dimensions
site, drive, sensitivity

Scope anonymous vs organization for risk slices.

Adapt: Variant: only external/anonymous links as risk KPI.

Lists count

How many lists exist (snapshot or new in period)?

COUNT(*) FROM list
Grain
List
Fields
List.id, List.displayName, List.list.template, Site.id
Dimensions
site, content_type

Possibly exclude system lists (e.g. form templates).

Adapt: Only lists with item activity in the period.

Formula overview

Same formulas as a table — copy into KPI cards or SQL drafts.

Label Formula Grain Fields
Sites active COUNT(DISTINCT site.id) WHERE lastModifiedDateTime IN period OR driveItem.lastModifiedDateTime IN period Site with activity Site.id, Site.lastModifiedDateTime, DriveItem.lastModifiedDateTime
Files created COUNT(*) FROM drive_item_meta WHERE file IS NOT NULL AND createdDateTime IN period DriveItem (file) DriveItem.id, DriveItem.createdDateTime, DriveItem.file.mimeType
Files modified COUNT(*) FROM drive_item_meta WHERE file IS NOT NULL AND lastModifiedDateTime IN period DriveItem (file) modified DriveItem.id, DriveItem.lastModifiedDateTime, DriveItem.file.mimeType
Sharing links active COUNT(*) FROM share_link WHERE expirationDateTime IS NULL OR expirationDateTime > now() Active share link ShareLink.id, ShareLink.link.scope, ShareLink.expirationDateTime
Lists count COUNT(*) FROM list List List.id, List.displayName, List.list.template, Site.id

Tour