I was working on Looker and I have to copy this Cognos query to Looker but apparently the SQL parameter on Looker did not work. I am not familiar with Cognos so I don't know how to solve this problem.enter image description here
I tried PARTITION function instead of FOR but still does not work. I expect it to run without errors