two values in Label in ssrs

  • How i can display two values in same label.but i want to show second value in bracket().i am using this expression

    =round(Fields!MegaBytes.Value,0).ToString() & " " & (round(Fields!MBPerSub.Value,0).ToString())

    it is giving me proper result.but second value(MBpersub) is not diplaying in bracket().

    for e.g: 400 (55555).

  • weston_086 (8/6/2012)


    How i can display two values in same label.but i want to show second value in bracket().i am using this expression

    =round(Fields!MegaBytes.Value,0).ToString() & " " & (round(Fields!MBPerSub.Value,0).ToString())

    it is giving me proper result.but second value(MBpersub) is not diplaying in bracket().

    for e.g: 400 (55555).

    I don't think you really need the ToString(), but using your expression

    =round(Fields!MegaBytes.Value,0).ToString() & " (" & round(Fields!MBPerSub.Value,0).ToString() & ")"

  • thanks a lot

  • Hi,

    Here i have the one column and it contains the data like Active, Closed , Running.

    now i want to display the status count for each status in a single label.

    Like below

    Active : 5

    Closed: 10

    Running : 3

    For this i have a expression but i didn't works here , can any one help me to solve this issue.

    =IIF(Fields!system_state.Value= "Active",Fields!countofWI.Value," ")& VbCrlf & IIF(Fields!system_state.Value= "Closed",Fields!countofWI.Value," ")& VbCrlf &(Fields!system_state.Value= "Running",Fields!countofWI.Value," ")

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

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