Forum Discussion
filter visual based on result from slicer
Guys,
i want to generate staff workload (column graph) based on project selected using slicer.
the staff name on graph will be based on table 2 result.
8 Replies
- amitchandakSuper User
aizamkamadin , what is the issue.
Create a slicer on project
and use staff on axis, and rest two as values
- aizamkamadinHelper II
cant, if i'm filter the column graph based on project.. it'll show every staff only have one project.
what i want is, the slicer will filter visual/table no 2 and final result (column chart) will be based on result on table 2 (staff name)
- v-xicaiCommunity Support
Hi aizamkamadin ,
You may create a measure in table 'Project User' like DAX below, and put it into Values box of chart visual.
Total Project Involved = CALCULATE ( COUNT ( 'Project User'[ProjectID] ), ALLEXCEPT ( 'Project User', 'Project User'[UserID] ) )Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- v-xicaiCommunity Support
Hi aizamkamadin ,
Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
- aizamkamadinHelper II
all have a same value..when im using ur code..
if im using column chart with setting
Axis = UserDetails.Name
Value = Project_User.Count of User_ID
the graph will show all like below
(it'll show all users)
what i want.. thegraph will filtered based on 2nd table
e.g if we select project B >> table 2 will show on 3 person work on this project >> graph only show 3 persons workload