Hi there,
Can someone help me how to set up a calculated field that the count of users across devices? I need a separate category for users that have used both browser and tablet. Basis in the below sample dataset.
userID | date | device
A | Jan 1 | browser
A | Jan 2 | tablet
B | Jan 1 | tablet
C | Jan 5 | browser
Hi @Christian_Soerup ,
Can you check with this calculated field for
count of users across devices

separate category for users that have used both browser and tablet

Is it fine @Christian_Soerup or you need something else.
2 Likes
Hi @Biswajit_1993 ,
Thanks for your help (again) 
My dataset is however a lot bigger than the sample, I show (it contains some 60.000 unique users). Therefore, the âcategory - calcâ canât contain specific users. Any other suggestions?
I use this as my dataset
created this visual

created 2 calculated field (you may combine into 1)
- DeviceCountByUser: distinctCountOver(Device, [UserID],PRE_FILTER) â to calculate how many type of device purchased by each user
- DeviceType: ifelse(DeviceCountByUser>1, âBrowser and tabletâ, Device) â to show the name of Device
4 Likes
Hi @royyung ,
Thanks for your solution. Bottom line: your solution does the job. However, my dataset seems to be too large for QuickSight to do the visualization and thatâs something I need to work around.
Thanks again 