Skip to main content
Level 9
févr. 26, 2020 9:36 PM UTC
Question

Calculated Data Expression in Rpt Column Not Working

Hi WF Community, I'm trying to subtract the values of two custom fields in a task report by using a caluclated column in my report. However, it's not displaying any results. - I have two custom currency fields: Total Invoice Amount & Tekside Cost - My text mode data expression is as such: displayname=Tekside PnL textmode=true valueexpression=SUB(INV - Total Invoice Amount,Tekside Cost) valueformat=HTML Does anyone know what I'm doing wrong? I tested replacing the field label names with actual numbers (e.g. 4 and 2) and it displayed the calculation properly on the report when I ran it this way (but it's obviously not what I want). Thanks. Nick Nick Valeriote
Ce sujet a été fermé aux réponses.

2 commentaires

Doug_Den_Hoed_AtAppStore
Community Advisor
Community Advisor
févr. 26, 2020 10:38 PM UTC

Hi Nick,

I suspect it might be the "-" (a Special Character) that is confusing the formula parser, and suggest you try this, to give it a hint:

valueexpression=SUB({DE:INV - Total Invoice Amount},{DE:Tekside Cost})

Regards,

Doug

P.S. DE stands for "data extensions", for those who've wondered, and means "custom data"

Traduire
Learn more at www.atappstore.com, email doug.denhoed@atappstore.com, or tag me here @Doug_Den_Hoed_AtAppStore.
NickVa7Auteur
Level 9
févr. 28, 2020 7:22 PM UTC
Your new valueexpression worked, thanks, Douglas! Ahh, ok, that's what DE stands for. Nick Valeriote
Traduire