Skip to content

Commit 074810d

Browse files
Update ratio_to_report.md
1 parent 56040c5 commit 074810d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ratio_to_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Calculating percentages using RATIO_TO_REPORT
22

3-
`RATIO_TO_REPORT` Window function can be used to calculate percentage of the entire dataset or partitioned data.
3+
`RATIO_TO_REPORT` SQL analytic function can be used to calculate percentage of the entire dataset or partitioned data. `RATIO_TO_REPORT` returns a value between 0 and 1 which indicates the weight of a numerical value in respect to the sum of all numerical values in the same partition. If multiplied by 100, the value of `ratio_to_report` can be interpreted as percentage.
44

55
## An illustrative example
66

0 commit comments

Comments
 (0)