Video | Tableau | Data prep | Analytics

Tableau Prep Tiles: New in Tableau 2021.4

Tableau Prep finally gets tiling in 2021.4, but watch out, the nTile function groups by your partitioned field, not by row count.

Part ofWhat's new in Tableau 2021.4
  • Tiling in Tableau Prep isn't a new object but a function used inside a calculation, found under the analytical functions as nTile
  • nTile must be combined with partition (defines the grouping) and order by (sets the rank and ASC/DESC direction) to work
  • The number you pass to nTile decides how many equal groups are created, each labelled with a sequential number
  • Groups are equal by the partitioned field (e.g. customer name), not by row count, so the level of granularity strongly affects how rows distribute
  • You can use rank instead of order by, but the syntax differs and these analytical functions are easy to get wrong, so test your assumptions carefully

00:00 - Intro 01:01 - THE NTILE FUNCTION 02:22 - HOW TO USE THE NTILE FUNCTION 04:14 - EXPLAINING THE TILING CALCULATIONS 05:24 - TIDY UP 06:45 - Validate the tiling worked ‍