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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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