Jump to content
  • 0

Changing value in a column of tabular report


DDNex

Question

3 answers to this question

Recommended Posts

  • 0

Hello @DDNex,

Are you referring to conditional show of link based on the a certain value?  If yes, you can create a Calculated Field to get this value then use the Calculated field in the HTML Block.

Calculated Field Formula:


CASE WHEN [@field:Requested_Action]='Update Sales'
THEN 'https:<yourlink>?Request_ID=[@field:Request_ID]'
ELSE
'https:<yourlink>?Request_ID=[@field:Request_ID]'
END

Then add  this in HTML Block:
 

<a href="[@calcfield:1]">View Request</a>

In the Report, you will see the Calculated field, if you would like to hide this, you can refer to this post:

I hope it helps.

Link to comment
Share on other sites

  • 0

Hello @DDNex,

HTML blocks can be added to the DataPage for adding descriptive text, links or graphics to your DataPages. They can also be used to add snippets of JavaScript, HTML or CSS.

For the Conditional Cases, you need to use Calculated Fields. You may check this article: https://howto.caspio.com/datapages/reports/advanced-reporting/calculations-in-forms-and-reports/

So the answer is yes, you need to have the calculated field.

Regards

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...