Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear All,
I have one dimension suppose brand in that i have too much lengthy characters so when am using it in charts then my chart is not looking nice.
for that I am using =left(Brand,10) & chr(13) & right(Brand,10) but all character get meaning less.
So I want after space character into the next line.
e.g
Brand Name: ABC DEF GI IJ K LMN
OUTPUT:
ABC
DEF
GI
IJ
K
LMN
THANKS
Hi,
Try like this
LOAD
'ABC DEF GI IJ K LMN' AS [Brand Name],
SubField([Brand Name], ' ') AS Brand
INLINE [
Brand Name
ABC DEF GI IJ K LMN ];
Regards,
Jagan.
take a calculated dimension like =replace(BrandName,' ',chr(13))
But it is not worth full, if the brand names have more spaces ' '
see the attachment, it might be helpful for you..
IF the entire Brand name is in one field, then use Subfield function
Hi Jagan,
I want to take this in front end only.
Hi Pradeep,
Your answer is coming properly but I want all character start from left to right.
Thanks
And when i am taking this into send to excel then all space will hide from brand name.
Hi,
In that case use
=Replace(BrandName,' ', Chr(13))
Regards,
Jagan.
Hi Jagan,
output is coming perfect but when i am taking this into excel then all space will hide from brand name.
Thanks
try dimension like this : =replace(BrandName,' ',chr(13)&' ')
Even when u export the data to excel, spaces will appear..
try this...
=replace(BrandName,' ',chr(13)&' ')