Forum Discussion
Anthony_A
2 years agoRegular Visitor
IF ELSE and Count
Hello, I am trying to create a column that will count every time a specific ID has a value larger than 0, ELSE if the row below or above is the same ID, do not count. below is an example of the ...
- 2 years ago
If you are relying on direct query then you may have to do this transformation in SQL instead. Otherwise, you can switch over to import mode for this query.
There is also an alternative way of doing this that may be supported by direct query. Let me know if you would like to see an alternative way. It involves created an index starting from 0, then another starting from 1, a self join, and then comparing the values from the previous row after the join.
Anthony_A
2 years agoRegular Visitor
yes!! wow GENIUS! LET ME TRY THIS. MAY HAVE ADDITIONAL QUESTIONS.