Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Adding a filter based on the size of a variable length field.

$
0
0

In my report (SSRS 2008R2) I have two tablixes displaying side by side, containing Batch Comments, Contract Comments, and Misc Comments.

The data has been filtered based on a row number that was added to the Comments. This works fine for a fixed length field, as what constitutes a row is static. In my case however, the field in question is "Comment" which is defined as Varchar(4000). In some cases a row is made up of 10 bytees, in others the range goes into the hundreds of bytes.

Since the report is being replicated from Crystal Reports, I checked the filtering there and found a field "ReturnCount". This also produces inaccurate results in the case that a Return Count exceeds the filter limit, the entire comment is not displayed.

This has become quite the real estate issue as page breaks are affected, the size of the comment area expands onto the next page.

Splitting such a field in the stored procedure is not an option here. Does anyone have any ideas how I should proceed?

Thanks!


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>