SSRS: Report Builder - Query from Dataset being Truncated

Robert 1 Reputation point
2021-08-27T20:52:17.49+00:00

Doesn't seem like any of the other 'truncated' issues are the one that I have... Sooo, I have text in a Database that is being queried using Report Builder. When It queries and displayed in the report it only has ~8000 characters in it. I tried several things to expand the capacity of the text box within the report itself, but it appears that the complete text (~25,000 characters) is not being brought in during the query. When I peek into my database and my UI there data is there (all 25,0000+ characters).

the text box is pretty simple, so I'm just not sure how to overcome the truncation. Below is the what gets pulled from the Dataset:

=Fields!shortstory.Value

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,062 questions
SQL Server | Other
{count} votes

3 answers

Sort by: Most helpful
  1. Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
    2021-08-29T00:37:08.35+00:00

    Have you set the "Can grow" and the "Allow height to increase" properties? Please read documentation.

    A workaround is explained here.


  2. AmeliaGu-MSFT 14,006 Reputation points Microsoft External Staff
    2021-08-31T05:56:57.427+00:00

    Hi Robert-7539,

    As it turns out, the query is actually only grabbing ~8000 of the characters.

    In addition, what is the data type of the column?
    Please check the data type and data of column shortstory in the SSMS.

    Best Regards,
    Amelia


  3. AmeliaGu-MSFT 14,006 Reputation points Microsoft External Staff
    2021-09-01T09:06:59.497+00:00

    Hi Robert-7539,
    Thanks for your reply.
    You can try to change the data type of column from xxx(n) to xxx(max). max indicates that the maximum storage size is 2^31-1 bytes.

    Please refer to Data types and Modify Columns which might be helpful.

    Best Regards,
    Amelia


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.