Forum Discussion
Anonymous
3 years agoNot applicable
Need help Filtering Out Data
Hey Guys,
I've got this formula:
ORC = CALCULATE([Opens]/(SUM('Spotler Data'[recipient])-SUM('Spotler Data'[hardbounce])-SUM('Spotler Data'[softbounce])))
You can guess it's about E-mail Campaigns. I need to filter out the following E-mail campaigns though:
So I need help with making the following DAX formula correct:
You can guess it's about E-mail Campaigns. I need to filter out the following E-mail campaigns though:
| pF5LMWsAvQkXH7g |
| VKbNK8BFytiIGZR |
| BRpM7by7WkMLSva |
| iuu2izjYXFqyAZN |
| LgkBuvgCy2i3rqc |
So I need help with making the following DAX formula correct:
ORC = CALCULATE([Opens]/(SUM('Spotler Data'[recipient])-SUM('Spotler Data'[hardbounce])-SUM('Spotler Data'[softbounce])),
FILTER('Spotler Data', 'Spotler Data'[mailing_id] not in {"pF5LMWsAvQkXH7g", "VKbNK8BFytiIGZR", "BRpM7by7WkMLSva", "iuu2izjYXFqyAZN", "LgkBuvgCy2i3rqc"} ))
NOT IN is not correct here. So what should I do to fix this?
With kind regards,
Lazzanova
NOT IN is not correct here. So what should I do to fix this?
With kind regards,
Lazzanova
- Anonymous3 years ago
Hi Anonymous ,
Try to put not before column, like this:
ORC = CALCULATE([Opens]/(SUM('Spotler Data'[recipient])-SUM('Spotler Data'[hardbounce])-SUM('Spotler Data'[softbounce])),FILTER('Spotler Data',Not ('Spotler Data'[mailing_id] in {"pF5LMWsAvQkXH7g", "VKbNK8BFytiIGZR", "BRpM7by7WkMLSva", "iuu2izjYXFqyAZN", "LgkBuvgCy2i3rqc"} ))Can it work?Best regards,
Community Support Team Selina zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
1 Reply
- AnonymousNot applicable
Hi Anonymous ,
Try to put not before column, like this:
ORC = CALCULATE([Opens]/(SUM('Spotler Data'[recipient])-SUM('Spotler Data'[hardbounce])-SUM('Spotler Data'[softbounce])),FILTER('Spotler Data',Not ('Spotler Data'[mailing_id] in {"pF5LMWsAvQkXH7g", "VKbNK8BFytiIGZR", "BRpM7by7WkMLSva", "iuu2izjYXFqyAZN", "LgkBuvgCy2i3rqc"} ))Can it work?Best regards,
Community Support Team Selina zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly