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
Hello,
can you advise me on this. This is doing what I need it to do. However I now need to add in an additional filter that will not count a repeat invitee email as a duplicate if the associated date field 'events-export'[Event Created Date], is more than 3 months ago
Would appreciate the help 🙂
Solved! Go to Solution.
Hi @SuzanneSte ,
Try to change you metric to:
RepEmailCol =
//Check_Duplicate
VAR currentvalue = 'events-export'[Invitee Email]
VAR count_filtering =
COUNTROWS (
FILTER (
'events-export',
'events-export'[Invitee Email] = currentvalue
&& 'events-export'[Event Created Date]
>= TODAY () - 90
)
)
VAR Result =
IF ( count_filtering > 1, "Duplicate", "Distinct" )
RETURN
Result
This will be based on current date but you can change this to be picked from a slicer or something similar.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @SuzanneSte ,
Try to change you metric to:
RepEmailCol =
//Check_Duplicate
VAR currentvalue = 'events-export'[Invitee Email]
VAR count_filtering =
COUNTROWS (
FILTER (
'events-export',
'events-export'[Invitee Email] = currentvalue
&& 'events-export'[Event Created Date]
>= TODAY () - 90
)
)
VAR Result =
IF ( count_filtering > 1, "Duplicate", "Distinct" )
RETURN
Result
This will be based on current date but you can change this to be picked from a slicer or something similar.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThank you so much 🙂
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!