Hi All,
I have a requirement where i have to select manager name from drop down given in Widget. On selection of Manager name it should show all team members name and the vol of cases has each member.
Hi All,
I have a requirement where i have to select manager name from drop down given in Widget. On selection of Manager name it should show all team members name and the vol of cases has each member.
@praneetv9588
This is a GenAI-powered tool. All generated answers require validation against the provided references.
Here’s a comprehensive step-by-step guide on how to implement this functionality:
To create a dashboard widget that displays team members and case volumes based on manager selection, you’ll need to follow these steps:
First, create a report definition that will serve as the data source for your widget:
In your report definition:
// Example filter configuration@baseclass.ReportDefinition.AddFilter("pyManager", "=", @param.ManagerSelection)Where pyManager is the property that contains the manager name and @param.ManagerSelection is the parameter that will hold the selected manager’s value
Here’s a simplified example of the report definition with the manager filter parameter:
// Report Definition example
When: pxCreateReport
If: true
Then:
// Add columns for team members and case volumes
.AddColumn("pyAssignedOperatorID", "Team Member")
.AddColumn("Count(*)", "Case Volume")
// Add filter for manager selection
.AddFilter("pyManager", "=", @param.ManagerSelection)
// Group by team member to show case counts
.GroupBy("pyAssignedOperatorID")
.OrderBy("Count(*) DESC")
This implementation allows you to:
References: