Using a Dataset's Column in Email Body
![swalker](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar2.png)
swalker
Registered Posts: 3 ✭
Hi all, simple question here
How I can add a dataset's column in my mail body ${column_name} doesn't work. I thought I could add as a local variable but I don't know about the configs. Coould you please help out? Thanks.
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,876 Neuron
A dataset can have many rows, how do you expect a ${column_name} to handle multiple rows? What exactly is in your dataset? Is it a single row dataset? If so it will be better to fetch it as a variable in a SQL step:
https://doc.dataiku.com/dss/latest/scenarios/variables.html#using-the-results-of-a-previous-sql-step