Comments
-
I figured a solution for this. Just like in SQL, you use the OVER clause to get other window functions to run. So I added an OVER clause to the Count(Distinct 'field name') OVER (order by 'field name 1' asc) to get my solution. It works as expected. Hope this helps others.