Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Coffee Break: Join us on Wednesday, April 5th at 10am PT to chat with Ben Gaines, Director of Product Management for Adobe Analytics. Ben will be online to answer your Analytics and Adobe Summit questions.

How to count number of values in a dimension for a segment

Avatar

Level 1

I'm trying to show the number of unique values/rows in a dimension. Specifically, we collect the UserID of each visitor. I want to show the number of unique UserIDs within a segment. 

 

I tried using the Summary Number visualization, but that sums the values of the occurrences. 

SummaryNumberRows.png

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

Create a calculate metric using "Approximate Distinct Count" function.

 

Jennifer_Dungan_0-1677047714326.png

 

Jennifer_Dungan_1-1677047741370.png

 

Jennifer_Dungan_3-1677047862127.png

 

 

If you want to remove the "unspecified" values. you can also add an on-the-fly segment for "UserId exists" (simply drag your UserId dimension into the calculated metric above the "Approximate Count Distinct" function

 

Jennifer_Dungan_5-1677048066332.png

 

 

Jennifer_Dungan_4-1677048025803.png

 

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now