Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


two values in Label in ssrs


two values in Label in ssrs

Author
Message
weston_086
weston_086
SSC Journeyman
SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)

Group: General Forum Members
Points: 95 Visits: 464
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).
Daniel Bowlin
Daniel Bowlin
Hall of Fame
Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)

Group: General Forum Members
Points: 3254 Visits: 2629
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() & ")"
weston_086
weston_086
SSC Journeyman
SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)SSC Journeyman (95 reputation)

Group: General Forum Members
Points: 95 Visits: 464
thanks a lot
mvsurendra
mvsurendra
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 60
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," ")
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search