on 06-12-2018 7:33 PM
I have been using Lumira Discovery 2.1 to build data quality visualizations. I am trying to create a chart showing the number of e-mails missing either a '.' OR an '@' symbol. The important word here is OR.
I created a filter using 'Does Not Contain'. When I enter only one parameter I get proper results. That is, Does Not Contain '.' returns all records missing the '.' in the e-mail address. Similarly, Does Not Contain '@' returns all records missing the '@' in the e-mail address. However, Does not contain '.' '@' only returns records missing both the period and the at symbol. The filter is clearly using AND to join the two parameters.
My question is, can I create the filter using OR to join the parameters so that it returns all records missing either a period OR an at symbol?
Thanks.
Well, I am going to answer my own question here. I don't believe you can do this with a filter. At least I could not find a way. Instead, I had to create a custom calculation. I created a new Dimension called BAD_EMAIL using the following formula:
if Contain({EMAIL},".") and Contain({EMAIL}, "@") then "GOOD" else "BAD"
Then when I created my chart I used the new Dimension, BAD_EMAIL, as the filter and selected records that were "BAD". If someone knows a better way I'd love to hear it. Also, if anyone knows of a place to see real example of formulas in Lumira I'd love to know .
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.