Skip to main content

system.kanoa.operators.getOLEOperatorAssetBreakdown(userId, assetId, startDate, endDate, attributionMode)

Breaks down one operator's OLE/POLE by individual asset (line) within a site/area - the leaderboard's shape pivoted, for drilling into which specific line(s) an operator's aggregated leaderboard numbers came from. Only returns assets where this operator had some schedule or login activity.


Parameters​

userId Integer:Id of the user executing the function
assetId Integer: a site, area, or line - every descendant asset is included in the breakdown
startDate String
endDate String
attributionMode String: 'EvenSplit' (default), 'FullCredit', or 'PrimaryOnly'


Returns​

breakdownData Dataset


Example​

userId = 2
assetId = 4
startDate = system.date.parse("2025-11-01 00:00:00")
endDate = system.date.parse("2025-11-05 00:00:00")
attributionMode = 'EvenSplit'
data = system.kanoa.operators.getOLEOperatorAssetBreakdown(userId, assetId, startDate, endDate, attributionMode)