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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Unique product ids bought

catalinmartin
Level 2
Level 2

Hi guys,

I've created a metric showing me the unique products ids from an order. I have used approx count distinct and works as expected if I user Order id as dimension & this new metric.

capture1.JPG

Now, I would like to know for a specific month, for example, number of unique product ids bought. Do you have any suggestions on how the definition of this new metric should look like? The same metric will return less volumes than expected (something like 50% less).

Any hint will be much appreciated.

Thank you in advance.

1 Accepted Solution
Gigazelle
Correct answer by
Employee
Employee

Yeah, if you put order IDs inside approximate count distinct, then use that calculated metric against a month dimension, that should give you what you're looking for.

View solution in original post

1 Reply
Gigazelle
Correct answer by
Employee
Employee

Yeah, if you put order IDs inside approximate count distinct, then use that calculated metric against a month dimension, that should give you what you're looking for.

View solution in original post