Video | Tableau | Data visualisation | Analytics

The ShapeType Function | New in Tableau 2023.2

There's a new ShapeType function in Tableau 2023.2 that tells you exactly what kind of geometry you're dealing with.

Part ofWhat's new in Tableau 2023.2
  • The ShapeType function in Tableau 2023.2 takes a spatial object and returns its geometry type
  • Build it by highlighting the geometry field, opening a calculation, typing ShapeType and double-clicking to wrap the spatial object
  • The function distinguishes geometry types such as line string versus multi-line string
  • You can store different geometry types in a single column and use ShapeType to identify them
  • The returned shape type can be used as a filter to selectively work with shapes, polygons and geometries

The ShapeType function returns a string describing the structure of the spatial geometry, such as Empty, Point, MultiPoint, LineString, MultiLinestring, Polygon, MultiPolygon, Mixed, and unsupported.

Timestamps 0:00 Intro 0:14 Shape Type Function in Tableau

Join this channel to get access to perks: https://www.youtube.com/channel/UC7HYxRWmaNlJux-X7rNLZyw/join