Wednesday, June 21, 2023

Explain the Number Function ' ASIN' in Tableau with Example?

In Tableau, the ASIN function is a number function that returns the arc sine of a given number. The arc sine is the inverse function of the sine trigonometric function and calculates the angle whose sine is the specified number.

The syntax for the ASIN function in Tableau is as follows:


  • number is the numeric value for which you want to calculate the arc sine.

Here's an example to illustrate the usage of the ASIN function in Tableau:

Suppose you have a dataset with a column called "Sine Value" that contains different sine values.

Sine Value





To calculate the arc sine of the "Sine Value" column using the ASIN function, you can create a calculated field in Tableau:

  • Right-click on a blank area in the "Data" pane in Tableau.
  • Select "Create Calculated Field."
  • In the formula editor, enter the following expression:

                ASIN([Sine Value])

  • Click "OK" to create the calculated field.

The calculated field, which utilizes the ASIN function, will calculate the arc sine for each value in the "Sine Value" column.

The resulting dataset will be as follows:

Sine Value                                         Arc Sine Value

0.5                                                                     0.524

0.8                                                                        0.927

-0.3                                                                     -0.304

1.0                                                                      1.571

In this example, the ASIN function calculates the arc sine for each sine value in the "Sine Value" column. For instance, the arc sine of 0.5 is approximately 0.524 radians, the arc sine of 0.8 is approximately 0.927 radians, and so on.

The ASIN function is particularly useful in scenarios involving trigonometry or geometry, where you need to calculate angles based on sine values. By utilizing the ASIN function in Tableau, you can perform these calculations and analyze data involving angles and their corresponding sine values.


No comments:

Post a Comment

If you have any doubts. Please let me know

How can you create an alias for a table in a SQL query?

In SQL, you can create an alias for a table in a query to give the table a temporary, alternative name that you can use in the query. Table ...