Jump to content
  • 0

Non-Breaking Space in Calculated Field


brucepeaslee

Question

I have a field that computes how long an issue has been pending:

CASE

WHEN (IsDate([@field:Date_Closed])=0) THEN 

stuff('_Days',1, 0, Ltrim(STR(DateDiff(day,[@field:Date_To_HOA],GetUTCDate()))))

ELSE stuff(' ',1,0,'(Closed)')

END

Note that I have an underscore before 'Days' in the first stuff function. If I leave this out, the result appears on two lines if the number of days exceeds 99.

101

Days

I tried putting   there, but that didn't work. I have also been unable to make the column wider, which might solve the problem.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi,

As a workaround, try to pass an empty parameter to the Calculated field label which will increase column size.

Posted Image

By the way, I've tried to create a DataPage with your data and it looks fine

Posted Image

Maybe problem in your style. Try to create a new style without any changes and apply it to this DataPage.

Let me know if this helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...