Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.

How to calculate YTD,MTD ,LYYTD and Cumulative calculations in Looker?

Hi All,

Could you please let me know How to calculate” YTD,MTD ,LYYTD and Cumulative “calculations in Looker?

Please provide a solutions ASAP it very urgent.

Regards,

Suresh

1 2 5,045
2 REPLIES 2

Looker doesn’t have any built-in solutions for that kind of comparison of timeframes. However, there have been few topics here in Community about this that you might found helpful.

https://community.looker.com/explores-36/special-date-filter-on-an-explore-24094https://community.looker.com/lookml-5/date-comparison-block-12198https://community.looker.com/lookml-5/period-over-period-and-ytd-mtd-19484

There's no native functionality in looker related to period analysis or time intelligence function.
You can go through this approach that I tried for the same:
https://www.googlecloudcommunity.com/gc/Modeling/How-to-implement-DatesYTD-and-DatesMTD-using-LookML... 

Top Labels in this Space