Relation
output with filter1
output with filter
Output
Input
input1
i have given input as shown in excel sheet where for each title , name and its actual date and target date.
sheet2 create to for target.
i have create dateset that gives week number for year 2022 to 2023
created column:
Solved! Go to Solution.
Hi @Jameel ,
I created a sample pbix file(see the attachment), please check if that is what you want.
1. Create a name dimension table as below
Names = VALUES('Actual'[Name])
2. Create two measures as below to get the count of [Actual] and [Target]
Count of actual =
CALCULATE (
COUNT ( 'Actual'[Actual] ),
FILTER ( 'Actual', 'Actual'[Name] IN ALLSELECTED ( 'Names'[Name] ) )
)
Count of target =
CALCULATE (
COUNT ( 'Sheet2'[Target] ),
FILTER ( 'Sheet2', 'Sheet2'[Name] IN ALLSELECTED ( 'Names'[Name] ) )
)
Best Regards
Hi @Jameel ,
I created a sample pbix file(see the attachment), please check if that is what you want.
1. Create a name dimension table as below
Names = VALUES('Actual'[Name])
2. Create two measures as below to get the count of [Actual] and [Target]
Count of actual =
CALCULATE (
COUNT ( 'Actual'[Actual] ),
FILTER ( 'Actual', 'Actual'[Name] IN ALLSELECTED ( 'Names'[Name] ) )
)
Count of target =
CALCULATE (
COUNT ( 'Sheet2'[Target] ),
FILTER ( 'Sheet2', 'Sheet2'[Name] IN ALLSELECTED ( 'Names'[Name] ) )
)
Best Regards
Its working. Thanks
but interaction for other visuals that i created are not working when selecting the names. I tried creating manage relationships between names and names in target sheet . But it is showing incorrect results
User | Count |
---|---|
74 | |
37 | |
33 | |
16 | |
13 |
User | Count |
---|---|
83 | |
30 | |
26 | |
16 | |
13 |