Referencing project custom data in an IF statement on a task report.
I am relatively new to text mode, and I would like a column in a Task Report to pull custom data from the Project if it is not available in the Task. For instance, Primary Contact is a custom data field we use on both Task and Project custom forms. When I run the task report I am working on, I would like the Primary Contact column to display the Primary Contact from the Project if there is no entry in that field at the Task level. This would alleviate the need to add custom forms and duplicate data entry on a fairly large set of tasks.
I have tried a number of configurations with no results. Is the text below even remotely close to what I need? Or is this even possible?
displayname=Primary Contact
linkedname=direct
namekey=Primary Contact
querysort=DE:Primary Contact
textmode=true
valueexpression=IF(ISBLANK({DE:Primary Contact}),project:{DE:Primary Contact},{DE:Primary Contact})
valueformat=customDataLabelsAsString
Thank you.