Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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 |
---|---|
42 | |
28 | |
24 | |
20 | |
16 |
User | Count |
---|---|
54 | |
35 | |
18 | |
18 | |
15 |