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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ssspk
Helper I
Helper I

How to get the Recurring/Repeat Users based on the table data?

Hello Team,

I would like to get the Recurring/Repeat Users from table 'data'. Table has a column called 'servertime' , 'user'.

error_re_user.png

 

 

 

_UserOccurrences = SUMMARIZE( data, data[user], "UserCount", COUNTROWS(data) )

Identify Recurring Users:

_RecurringUsers = FILTER( _UserOccurrences, [UserCount] > 1 )

 

Also the other approach,

error_screen.png

Bo th the methods retun error.

How to resolve the error?

 

Thanks nad Refards,

Siva

1 ACCEPTED SOLUTION
v-yifanw-msft
Community Support
Community Support

Hi @ssspk ,

Depending on the information you provided, you are walking on the right path. You can solve your problem by following these steps:
Sample data:

vyifanwmsft_2-1711417585479.png

 

1.Add a new TABLE.

vyifanwmsft_0-1711417348481.png

Table = 
VAR _UserOccurrences =
    SUMMARIZE ( data, data[user], "UserCount", COUNTROWS ( data ) )
VAR _RecurringUsers =
    FILTER ( _UserOccurrences, [UserCount] > 1 )
RETURN
    _RecurringUsers

 

Final output:

vyifanwmsft_1-1711417467502.png

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

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

 

View solution in original post

1 REPLY 1
v-yifanw-msft
Community Support
Community Support

Hi @ssspk ,

Depending on the information you provided, you are walking on the right path. You can solve your problem by following these steps:
Sample data:

vyifanwmsft_2-1711417585479.png

 

1.Add a new TABLE.

vyifanwmsft_0-1711417348481.png

Table = 
VAR _UserOccurrences =
    SUMMARIZE ( data, data[user], "UserCount", COUNTROWS ( data ) )
VAR _RecurringUsers =
    FILTER ( _UserOccurrences, [UserCount] > 1 )
RETURN
    _RecurringUsers

 

Final output:

vyifanwmsft_1-1711417467502.png

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

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

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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