In this article, I would like to share the DAX code to calculate the area of a polygon. The below image shows the result:
Here you see it in action:
This type of calculation is useful in case you would like to calculate the area of your selection. For example, in a GainChart. The bigger the area, the better. Using this calculation you can run it for groups of data.
The code for the area calculation (in accordance with this source)