Tableau SIN Function



SIN is a numeric Tableau function which accepts a number as parameter. It returns the sine of an angle entered in radians.

How to use SIN function

The SIN function is used to derive the sine of an angle and often used to render various shapes and curves. The output of the below example is 1. SIN ( 0 )

Use SIN function with a field

SIN can also be used to calculate the sine value from another function or field of a data source. The output of the below example is 0.707. SIN ( PI () / 4 )

Example of SIN in Tableau

We can see an use case of SIN function here in a Radial Bar Chart. It helps create the Y axis. The detailed steps can be seen in the Unique Charts section at Learn Tableau.


Recommended Read

In mathematics, the sine is a trigonometric function of an angle. The sine of an acute angle is defined in the context of a right triangle: for the specified angle, it is the ratio of the length of the side that is opposite that angle, to the length of the longest side of the triangle (the hypotenuse). For an angle x, the sine function is denoted simply as {\displaystyle \sin x}\sin x.
× The SIN function is useful in many scenarios in Tableau where we want to use create shapes and curves in our visualizations.