• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

SSRS EXPRESSION + STRING FORMAT

HELLO

I HAVE THE FOLLOWING AS AN EXPRESSION IN SSRS

=SUM(Fields!DAYS_TO_MATURITY.Value * Fields!AMORTISED_VALUE.Value)/Sum(Fields!AMORTISED_VALUE.Value, "TS_MMKT") & " DAYS " 

THE OUTPUT IS APPEARING AS 45.9834128 DAYS
 WHAT I WANT IS
45 DAYS

CAN ANYBODY HELP?
0
barkome
Asked:
barkome
1 Solution
 
Lokesh B RDeveloperCommented:
Hi,

try

=Format(SUM(Fields!DAYS_TO_MATURITY.Value * Fields!AMORTISED_VALUE.Value)/Sum(Fields!AMORTISED_VALUE.Value, "TS_MMKT"), "N0") & " DAYS "

Open in new window

0
 
barkomeAuthor Commented:
IT WORKED....THANKS
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now