Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hello
How do I write a custom aggregate formula in the Pivot recipe ?
I need something like :
if ( count_of_records > 0 ) { return True } else { return False };
Thanks to the Dataiku team and community !
Hi @Citron
What you describe should be included as an additional step after the Pivot recipe has been executed.
In this scenario your pivot recipe should do a count and a new Prepare recipe can use the count column to generate the True/False output.
Good luck!
Hi @Liev
Thanks. That's what I did but I wanted it more concise.
By the way, where can I find examples of "custom aggregates" definitions, please ?