Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi @Mammm25
You can refer to the following measure
The sample data
Table 1
Table 2
Then create a measure, and put it tp the visual slicer
Measure = var a=SUMMARIZE(FILTER(ALLSELECTED('Table'),YEAR([Start])<=SELECTEDVALUE('Table (2)'[Column1])&&YEAR([End])>=SELECTEDVALUE('Table (2)'[Column1])),[Name])
return IF(ISFILTERED('Table (2)'[Column1]),IF(SELECTEDVALUE('Table'[Name]) in a=FALSE(),1,0),1)
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Mammm25
You can refer to the following measure
The sample data
Table 1
Table 2
Then create a measure, and put it tp the visual slicer
Measure = var a=SUMMARIZE(FILTER(ALLSELECTED('Table'),YEAR([Start])<=SELECTEDVALUE('Table (2)'[Column1])&&YEAR([End])>=SELECTEDVALUE('Table (2)'[Column1])),[Name])
return IF(ISFILTERED('Table (2)'[Column1]),IF(SELECTEDVALUE('Table'[Name]) in a=FALSE(),1,0),1)
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Create a reference table with the desired name/year combinations and join it (many to many, gasp! but single direction) via the name column.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
75 | |
54 | |
37 | |
31 |
User | Count |
---|---|
99 | |
56 | |
50 | |
42 | |
40 |