You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RATIO_TO_REPORT-with-aggregate-functions.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
-
# RATIO_TO_REPORT
1
+
# RATIO_TO_REPORT with Aggregate Functions
2
+
2
3
`RATIO_TO_REPORT` is a powerful Snowflake function that lets you calculate the ratio of a value to the various aggregations of data. The following query, for example, uses `RATIO_TO_REPORT` to calculate the Number of Sales, Amount of Sales and Average Sales as a Percentage for each Sales Associate
0 commit comments