The CreatorCon Call for Content is officially open! Get started here.

Dynamic filter for PA indicator

snuser10
Kilo Expert

Looking to add a dynamic filter on Performance Analytics widget to only pull data that logged in user is member of (ie. dynamic filter on assignment group). I tried adding additional condition contains "assignment group is (dynamic) one of My Groups" to the indicator but still not getting data for only assignment groups that i'm member of.

Thoughts on where/how to add dynamic filter in Performance Analytics?

1 ACCEPTED SOLUTION

leahcoughlin
Tera Expert

Well, I just took the Performance Analytics class, and I think what you're looking for is an Element Filter (Performance Analytics > Breakdowns > Elements Filters).  You can create a new one using the GROUPS breakdown source, and then add the filter: Sys ID | is one of | javascript:getMyGroups();

Hopefully that helps you. I'm just learning how to use Performance Analytics, and was thrilled to see this was part of it! 🙂

View solution in original post

14 REPLIES 14

Abhinay Erra
Giga Sage

Try this 

 

Assignment group <is one of> javascript: gs.getUser().getMyGroups().toArray().join()

This is for Performance Analytics widget. Where would i add this javascript?

Are you using condition builder?

Could you tell me where condition builder is? Don't think i'm using it since i don't know about it.