# Creating a measure for same day last month

**URL:** <https://discuss.google.dev/t/creating-a-measure-for-same-day-last-month/115757>\
**Category:** Looker\
**Tags:** lookml, filter\
**Created:** [November 3, 2022, 6:55am UTC](https://discuss.google.dev/t/creating-a-measure-for-same-day-last-month/115757 "2022-11-03T06:55:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [November 3, 2022, 6:55am UTC](https://discuss.google.dev/t/creating-a-measure-for-same-day-last-month/115757/1 "2022-11-03T06:55:32Z")

</div>

Hi folks, I’m looking to build a measure to sum a number e.g. outstanding balance for the same day last month. I’m able to do so currently with a custom expression for a table calculation.

```auto
add_months(-1, ${business_date})

```

e.g. if business\_date is 2022-11-03, the measure should sum the outstanding balance for the same day one month ago i.e. 2022-10-03.

I’m looking to create a measure in LookML so that all business users will be able to query it. Any advice on how this should look like?
