Allow more data manipulation in bionic rules
I'd like to see the Rules Engine be able to have more flexibility when it comes to manipulating data rather than having to load data to another MDA object.
Use case:
A customer of mine is trying to assign a score based on certain information being present (or not present).
Use case:
A customer of mine is trying to assign a score based on certain information being present (or not present).
- They have six different features that they track among their customer base. This data is aggregated daily and shows up in terms of page views.
- So if a customer has at least one page view for a feature, they should get a score of "1". If they don't have any page views for a feature, they should get a score of "0." An example data set might be 34 views for Feature A, 4 for Feature B, and 0 views for Features C through F. This customer would get a score of 2.
- What I [i]want to be able to do is say for Feature, "34 views" now gives you a score of 1. "4 views" also gives you a score of 1. Zero views gets you zero. So then my final task would be a Transformation where I add up the scores for Features A through F.
- Unfortunately, there's no easy way to do this that I can find out (I've asked around too), and I'd ideally like to avoid having to create a new MDA object.