Forum Discussion
JWhitford
5 years agoFrequent Visitor
Running Total Struggles
Hi all, I am new to PowerBI and this is the first issue I have not been able to resolve by searching through previous posts. I have a list of fault tickets with opened and closed dates. There...
Anonymous
5 years agoNot applicable
When it comes to running totals, the "Quirky Update" blows the doors off of all other T-SQL methods. In SQL Server 2000, the "Quirky Update" is the only high speed method to do the equivalent of "partitioned" ROW_NUMBERs and RANK without the slothfulness of some explicit RBAR loop or a "Triangular Join". The "Quirky Update" does in about 6 seconds that which takes a cursor almost 8 minutes to accomplish. To put things into perspective, that means the "Quirky Update" is about 80 times faster than a cursor when done "in place" in the same table.