Jump to content
  • 0

Graphics In Calculated Field


Datapage type:  Tabular report

Objective:  To show a red flag whenever two calculated fields did not produce the same results.




Is it possible to embed a graphic in calcualted field? I issued the following string that when checked for validity gives out a "valid" confirmation. I was very happy.


But then when I checked the embedded code on html, it gives "Error in formula". 


Below is the code:



    WHEN [@calcfield:3]=[@field:Grade] THEN ''
ELSE <img src="https://mysource.com/images/redflag.jpg">





All help is appreciated as usual.







Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0


You can display the image via HTML Block. 

You may use this formula in the Calculated Field:


WHEN [@calcfield:3]=[@field:Grade] THEN ''
ELSE '<img src="https://mysource.com/images/redflag.jpg">'


Then, insert an HTML block and display the result of the calculated field. Render it as an HTML.



To hide the calculated value, please see this post:


Link to post
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.

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.

  • Create New...