I’m trying to dynamically populate the “to” field in an email by doing a lookup to another table. However, I could have multiple matching rows.
In other words, I have a Users table that has username, useremail, and userrole as columns. I want to get the email addresses from that table where userrole = “X”.
Is that possible?
Solved! Go to Solution.
Like this?
SELECT(
Users[useremail],
([userrole] = "X")
)
See also:
User | Count |
---|---|
44 | |
29 | |
22 | |
20 | |
14 |