Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
vanik85
Helper I
Helper I

How do I check duplicates by Applying 90 day logic and publishing first touch month

I have a table with below fileds

 

MonthMobileUTM
10-Apr11111Organic
12-Apr11111Paid
15-Apr22222Paid
20-Apr33333Paid
02-May55555Paid
12-May33333Organic
12-May22222Organic
12-Jun11111Web
12-Jun44444Paid
28-Jul22222Paid

 

I wish to check duplicates in mobile numbers by checking past 90 days and accordinlgy revert with Unique or Repeat user. Additonally need to mention first touch points

 

MonthMobileUTMUnique/RepeatFirst Touch MonthFirst Touch UTM
10-Apr11111OrganicRepeatAprOrganic
12-Apr11111PaidRepeatAprOrganic
15-Apr22222PaidRepeatAprPaid
20-Apr33333PaidRepeatAprPaid
02-May55555PaidUniqueMayPaid
12-May33333OrganicRepeatAprPaid
12-May22222OrganicRepeatAprPaid
12-Jun11111WebRepeatAprOrganic
12-Jun44444PaidUniqueJunePaid
28-Jul22222PaidUniqueJulyPaid

 

 

4 REPLIES 4
Anonymous
Not applicable

Hi @vanik85 ,

Please have a  try.

Create a measure.

measure =
VAR _1 =
    CALCULATE (
        MIN ( table[month] ),
        FILTER ( ALL ( table ), table[mobile] = SELECTEDVALUE ( table[mobile] ) )
    )
RETURN
    IF ( MAX ( table[month] ) = _1, MAX ( table[UTM] ), BLANK () )

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

IMG_9113.jpeg

tried depicting ask with the help of flow diagram 

tamerj1
Super User
Super User

Hi @vanik85 
Please clearly define past 90 days with examples.

Tried depicting ask with the help of flow diagram 

 

IMG_9113.jpeg

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.