Report to display user role percentages | Community
Skip to main content
Level 9
Nov 9, 2020 7:34 PM UTC
Solved

Report to display user role percentages

Hi WF Community,

Does anyone know of a report or view whereby I can see users roles and percentages (per role, if they have more than 1 role)?

I noticed in the API Explorer that there's a User Role object with a timePercentage field. Wondering if this is the right one? I tried creating a view on the Users list, adding a custom text mode column, and referencing the above field as a collection:

displayname=Role Percentages

listdelimiter=<div>

listmethod=nested(USRROL).lists

textmode=true

type=iterate

valuefield=timePercentage

valueformat=HTML

This doesn't seem to produce any values.

Thanks.

Nick

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Richard_Le_Accepted solution
New Participant
Nov 9, 2020 9:15 PM UTC

Hi Nick,

The following text mode should do it!

valueexpression=CONCAT({role}.{name}," - ",{timePercentage},"%")

listdelimiter=<br>

listmethod=nested(userRoles).lists

valueformat=HTML

displayname=All Job Roles

textmode=true

type=iterate

Best Regards,

Rich.

5 replies

amybillmayer
Level 4
Nov 12, 2020 7:22 PM UTC

Thank you!! This is exactly what I was looking for as well!

Translate
kynabaker16
Employee
Nov 12, 2020 7:31 PM UTC

Yay!! And I just love hearing that someone found what they needed from the community!

Translate
NickVa7Author
Level 9
Nov 10, 2020 2:55 PM UTC

Wonderful. Thanks for this, Richard!

Translate
Richard_Le_Accepted solution
New Participant
Nov 9, 2020 9:15 PM UTC

Hi Nick,

The following text mode should do it!

valueexpression=CONCAT({role}.{name}," - ",{timePercentage},"%")

listdelimiter=<br>

listmethod=nested(userRoles).lists

valueformat=HTML

displayname=All Job Roles

textmode=true

type=iterate

Best Regards,

Rich.

Translate
New Participant
Jan 21, 2022 6:20 PM UTC

This was exactly what I was looking for TOO, now a year later!!!! Thanks!

Liza

Translate