Building a report on screen/web app

Hey, I can see that the query is executed under a condition, so, is that condition aplied when you export the csv?

I haven’t worked with csv for a long time, but, why don’t you run the same query previously to the export csv step and see if that works?
Or as a separated api.

PS: you can paste the error text here for a better reading: