Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 20764

Expression not Works as per need

$
0
0

HI,

=SWITCH(
LEN(Fields!Comment.Value) > 1000,
REPLACE(REPLACE(REPLACE((LEFT(Fields!Comment.Value,1000)+"...")," ","&nbsp;"),"<","&lt;"),">","&gt;"),
True,
REPLACE(REPLACE(REPLACE(Fields!Comment.Value," ","&nbsp;"),"<","&lt;"),">","&gt;")
)

me using above html exprression for one Column. but it's not wrapping text in correctly. E.G.

Ram is going to london.

but out put in report like this:--

Ram is going to lo

ndon.

Regards,

Akhil


Viewing all articles
Browse latest Browse all 20764

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>