🧑🍳Aggregating data
Aggregate in YouPrep™
Overview

Examples
Warning
Before you start!
My dataset is containing my turnover per Quarter for each year.

Ex1: Group by
I want to display the evolution of my turnover per year. I need to group all my values per year using the Aggregate step : Group By operation:
Group by allows you to perform different types of operation on your KPIs : you can sum them up or get their average for example !
Your YouPrep™ step should look like this:

Here you go ;)

Ex2: Hierarchical rollup
My data might only contains data at the lowest level. The hierarchical rollup operation will allow you to aggregate data at each hierarchical level and stack the aggregated data of every level, based on hierarchical columns (e.g. city < subcountry < counrtry ). This step is really helpful to give your dataset a hierarchical structure that Toucan could interpret properly for its charts (ex leaderboard drill, waterfall drill… or even hierarchical view selector).
📝 Perfect operation to set a hierarchy with only the children value.
Before you start! You will often have to display various levels of aggregations on your screens. For ewample, my dataset contains the main cities worldwide. We can find different level: names of the city, subcountry and country. Thanks to the hierarchical rollup operation, we are going to create a hierarchy between these three columns.
Ex3: Get unique
📝 You can use this step to get the unique values from a column or unique groups of values from a combination of several columns.

Get unique groups/values in columns: you can select one or several columns that will be combined to constitute unique groups of values.

Tadaaaa 🎉

Do not hesitate to read the weaverbird documentation if you need any further informations on YouPrep!
Last updated
Was this helpful?