December 2018
Beginner to intermediate
496 pages
10h 44m
English
One thing you might want for analysis is the Price per Square Foot. This does not exist in the data. This really couldn't have been stored at the source, because the value changes based on the level of detail present in the view (for example, the average price per square foot per building will be different than the average price per square foot per apartment). Rather, it must be calculated at an aggregate level.
Let's create a calculation named Price per Square Foot with the following code:
SUM([Price]) / SUM([Area])
This code indicates that the sum of Price should be divided by the sum of Area. That is, all values for Price will be added, all values for Area will be added, and then the division will take place.
Read now
Unlock full access