Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
amandabus21
Helper V
Helper V

Months Between

How can I find the months between the Calendar Day and today. 

 

This should be for each Material.Material level  01 key.

 

amandabus21_0-1681766537233.png

 

5 REPLIES 5
amandabus21
Helper V
Helper V

@FreemanZ any update on this?

FreemanZ
Super User
Super User

hi @amandabus21 

try to add a calculated column like:
Months =
DATEDIFF([Calendar Day], TODAY(), MONTH)

Thank you, is there a way I could get it down to the DayNumberOfMonth of the Current Date?

hi @amandabus21 

do you mean a column like:

DAY([Calendar Day])

No for example it would be 1 month if it was exactly the day

 

So 3/21/2023 would be 1 month (from today 4/21/23)

 

But 3/30/23 shouldnt be 1 month because today is (4/21/23) and technically a full month hasnt passed.

 

I used the first formula you provided and named Age Buckets. 

amandabus21_0-1682116446688.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.