Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.

Rank with a Filter (table calculation)

I have a list of SKUs, the Product Category each SKU belongs in, and each SKU’s Order Count. I’d like to make a visualization that shows only the top selling (highest # orders) SKU in each of the categories.

In Google Sheets, I’d go about this with =RANK(FILTER) formula. I’d rank the Orders column and filter on the Product Category column. I have not been able to replicate this in Looker. Any advice on how to rank with a filter in Looker?

I do not have LookerML access and need to accomplish this using table calculations. I’m open to using other formulas within table calculations if better.

1 0 548
0 REPLIES 0
Top Labels in this Space
Top Solution Authors