Hello All,
I have a requirement to calculate current year quarter comparison with the exact last year quarter ( ex: 2019Q2- 2020Q2).
Picture is for reference-
Regards
답변 4개
Try this,
For current year if {FIXED: MAX(QUATER([Date]))} = QUarter([Date]) AND
AND YEAR([DATE])= {FIXED : MAX(YEAR([DATE])) THEN [PROFIT] END
For previous year
if {FIXED: MAX(QUATER([Date]))} = QUarter([Date]) AND
AND YEAR([DATE])= {FIXED : MAX(YEAR([DATE]))}-1 THEN [PROFIT] END
For Growth, just do
(Current-previous)/(Current+ previous) then format to percentage
Alternative, you can make use of table calculation by using LOOKUP function
Mark as helpful if this helps.