How to remove empty rows in filtered pdf report.

Hi, there

I'm trying to find a way to remove empty rows from my pdf report, I have several projects that use the same data spreadsheet. When I filter the data to create a PDF report, it keeps empty rows from other projects. Can anyone help me with the correct expression that removes all those rows from the report, and keep the report clear and a nice view of the report that shows only filtered data?

P.S. I reckon when you create a built-in CSV file it works perfectly, possible to see to get the expression for the built-in CSV file?

Thanks in advance ๐Ÿ™

Screenshot 2023-03-12 at 16.21.01.pngScreenshot 2023-03-12 at 16.23.32.png

 

Solved Solved
0 13 1,737
2 ACCEPTED SOLUTIONS

Sorry to jump in ๐Ÿ™‚ 

Your SELECT expression is forcing the selection of all rows empty or not. Instead you should write this:

SELECT( Expense[Key],
   AND( ISNOTBLANK([Project Name]), [Project Name]=[_THISROW].[Project Name] )
)

And I echo the words of @dbaum, you really should eliminate the virtual column and put the expression in the template directly.

View solution in original post

No, I'm just telling you that your expression is explicitly selecting the empty rows and that's why you have them in the report, and I gave you a corrected version. 

View solution in original post

13 REPLIES 13
Top Labels in this Space