Forum Discussion
Anonymous
7 years agoNot applicable
AVG Sales Price Index Calculation
i have the following date realestate data: Avarage Sales Price per SQM which is a measure. the following is the formula i used to create the measure from avalable data: AVG SALES PRICE PER SQM = ...
- 7 years ago
Hi Anonymous ,
Please try this one ROUNDUP(MONTH(Table1[Date])/3,0) .
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
Super User
7 years agoHi,
Create a Calendar Table and build a relationship from the Date column of your Real Estate Table to the Date column of your Calendar Table. In the Calendar Table, extract the Year by using this calculated column formula - Year = YEAR(Calendar[Month]). To your slicer, drag Year from the Calendar Table and select any one year. Write this measure
AVG SALES PRICE PER SQM IN PREVIOUS YEAR = CALCULATE([AVG SALES PRICE PER SQM],PREVIOUSYEAR(Calendar[Date]))
Hope this helps.