Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 14 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |