Skip to main content
Level 2
11月 25, 2026 6:16 午後 UTC
質問

Find sku where price is always 'n/a'

I have a data table with Product SKU and Price as dimensions, and Events as the metric. The example below shows only one SKU, but it illustrates an issue that applies to all SKUs.

At times, a product is discounted to $0, while at other times its price may vary. Some products are always discounted to $0 and therefore only appear as “N/A.”

I want to count the number of products that are always listed as “N/A”, while excluding products that were priced at any point. For example, the SKU shown below should not be counted because it had a price other than “N/A” at some point.

I believe this may require a two-step segmentation process:

1. Identify distinct Product SKUs where the Price value is $0.
2. Count only the SKUs whose Price value has always been “N/A” and never had a price.

Any help building this logic would be appreciated.