Skip to content
Advertisement

Tag: plsql

Conditional ROW_NUMBER() to skip nulls still counting them

I am trying to add a ROW_NUMBER column to a data set that follows the order of [Withdrawal then Fee; Withdrawal then Fee] based upon whether the column NETWORKCD is null. However, my row_number formula is still counting Nulls even though it’s not displaying the numbers, like so: I am using the following formula for PeriodCount I was expecting PeriodCount

Advertisement