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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

take data of selected month

Hello I have mobile number reflecting multiple times in different month , i want to have counts of duplication of mobile number of selected month 
for eg if i select Jan 23 it should show counts only for jan Jan23

Prajakta11_0-1676979291534.png

 

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 
Please try

=
SUMX (
    VALUES ( 'Table'[phone] ),
    VAR CountDuplicate =
        COUNTROWS ( CALCULATETABLE ( 'Table' ) )
    RETURN
        IF ( CountDuplicate = 2, CountDuplicate )
)

View solution in original post

3 REPLIES 3
tamerj1
Super User
Super User

Hi @Anonymous 
Please try

=
SUMX (
    VALUES ( 'Table'[phone] ),
    VAR CountDuplicate =
        COUNTROWS ( CALCULATETABLE ( 'Table' ) )
    RETURN
        IF ( CountDuplicate = 2, CountDuplicate )
)
Anonymous
Not applicable

Thak you for your help @tamerj1 ,addition to this i want to show duplication in next 90 days ,what will be the measure for that ,for eg, if i select april , i want to show duplication in april may and june 

 

@Anonymous 

Do you have a date table?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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