Add Line Break in SSRS Expressions

  • Hi .

    How to add line break in the expression that retrieves data from the database.

    my expression goes like this.

    =Fields!Losses.Value

    Sum(Fields!totvalue.Value)&"("&

    Sum(Fields!totvalue.Value)/Sum(Fields!totvalue.Value, "DataSet1")*100&")"

    Right now am getting the output like this.

    DownLoss148(50)

    I want to display it as:

    DownLoss

    148

    (50)

    How to go abt it???

  • This was removed by the editor as SPAM

  • I usually do it like this:

    =Fields!Losses.Value & VbCRLF &

    Sum(Fields!totvalue.Value) & VbCRLF &

    "(" & Sum(Fields!totvalue.Value)/Sum(Fields!totvalue.Value, "DataSet1")*100&")"

  • Thanks both of you for youe response....

    VbCRLF worked for me.:-)

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply