Hello all,
Got what should be a simple question but I'm struggling. I have a text input that works as a lookup in my Excel data to pull email address based on a couple dropdowns in my app. I would like to add some text from a text input in the app to allow people to add more email addresses that might not be in the Excel data. My first input box looks like this for the text property.
Filter(Emails, Location&Department = ddLocation.Selected.Locations&ddDepartment.Selected.Result)
with an output of something like this. email1@email.com,email2@email.com
I would like to allow the user to add emails based on the input box in the app. I have tired these.
Filter(Emails, Location&Department = ddLocation.Selected.Locations&ddDepartment.Selected.Result)&", "&tiAddNote.Text
Filter(Emails, Location&Department = ddLocation.Selected.Locations&ddDepartment.Selected.Result)&&", "&&tiAddNote.Text
Filter(Emails, Location&Department = ddLocation.Selected.Locations&ddDepartment.Selected.Result&", "&tiAddNote.Text)
The first 2 give me an error and the 3rd gives me no output.
Any ideas?
Thanks,
Stephen
Solved! Go to Solution.
Hi @StephenGW ,
You did not mention the field name that actually has the email in it, but you would need something like this
Concat(
Filter(
Emails,
Location = dLocation.Selected.Locations &&
Department = ddDepartment.Selected.Result
).EmailFieldName & ";"
) & ";" & tiAddNote.Text
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @StephenGW ,
You did not mention the field name that actually has the email in it, but you would need something like this
Concat(
Filter(
Emails,
Location = dLocation.Selected.Locations &&
Department = ddDepartment.Selected.Result
).EmailFieldName & ";"
) & ";" & tiAddNote.Text
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
It's always more simple than I am making it 🙂 I was trying to add it to the text input that already does the Filter but I guess I should have just been adding it into the Mail function. Thank you as always for the quick and concise reply!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
185 | |
51 | |
47 | |
32 | |
32 |
User | Count |
---|---|
259 | |
90 | |
78 | |
68 | |
67 |