Created
November 8, 2022 08:38
-
-
Save patrikbraborec/03c1e262e8f81a90d6a29fd07fd74c1b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT ( | |
SELECT {metric/gd_revenue} WHERE ( | |
SELECT {metric/revenue_top_10} BY {label/customers.customer_id} ALL OTHER | |
) > 0 | |
) / {metric/gd_revenue} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment