ACOT

How to Use the Power BI DAX function ACOT

One of the DAX functions available in Power BI is ACOT. ACOT is used to return the inverse cotangent of a number, in radians. In this article, we will discuss how to use the ACOT function in Power BI.

Syntax of the ACOT Function

The syntax of the ACOT function is as follows:


ACOT(number)


Where “number” is the value for which you want to calculate the inverse cotangent.

Example of Using the ACOT Function

Suppose we want to find the inverse cotangent of 0.5. We can use the ACOT function to calculate this value as follows:


ACOT(0.5)


The result will be 1.10714871779409, which is the value of the inverse cotangent of 0.5 in radians.

Using the ACOT Function in Power BI

To use the ACOT function in Power BI, follow these steps:

1. Open Power BI Desktop.

2. Import your data into Power BI.

3. Create a new measure. To do this, go to the “Modeling” tab and click on “New Measure”.

4. In the formula bar, enter the syntax for the ACOT function, along with the number you want to calculate the inverse cotangent for.

For example, suppose we have a table with a column named “Values”. We want to calculate the inverse cotangent of the values in this column. We can create a new measure as follows:


ACOTMeasure = ACOT(SUM(Values))


In this formula, we are using the SUM function to add the values in the “Values” column, and then passing the result to the ACOT function to calculate the inverse cotangent.

5. Once you have entered the formula, press “Enter” to calculate the measure.

Using the ACOT Function in Visualizations

Once you have created a measure using the ACOT function, you can use it in visualizations in Power BI. To do this, follow these steps:

1. Drag and drop the measure onto your visualization. For example, drag the measure onto a table or a chart.

2. Power BI will automatically display the results of the measure in the visualization.

The ACOT function is a powerful DAX function in Power BI, used for calculating the inverse cotangent of a number. In this article, we have discussed the syntax of the ACOT function and provided an example of how to use it in Power BI. We have also discussed how to use the ACOT function in visualizations in Power BI. With this knowledge, you can now use the ACOT function to create powerful calculations and visualizations in Power BI.

Power BI DAX Training Courses by G Com Solutions (0800 998 9248)

Upcoming Courses

Contact Us

    Subject

    Your Name (required)

    Company/Organisation

    Email (required)

    Telephone

    Training Course(s)

    Your Message

    Upload Example Document(s) (Zip multiple files)