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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
nsaray
Helper II
Helper II

Return "Yes" if last day of the month

Hi

 

Really easy but I'm new so need some help

 

I just need to return a Yes value if a specific date column (Report Date) is the last day of the month

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @nsaray ,

You can create a calculated column  or  measure as below to get it:

1. Create calculated column

last day of the month? = IF ( 'Table'[Report Date] = EOMONTH ( 'Table'[Report Date], 0 ), "Yes" )

2. Create a measure as below

Measure for last day of the month? = IF ( MAX ( 'Table'[Report Date] ) = EOMONTH ( MAX ( 'Table'[Report Date] ), 0 ), "Yes" )

Last day of the month.JPG

Best Regards

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @nsaray ,

You can create a calculated column  or  measure as below to get it:

1. Create calculated column

last day of the month? = IF ( 'Table'[Report Date] = EOMONTH ( 'Table'[Report Date], 0 ), "Yes" )

2. Create a measure as below

Measure for last day of the month? = IF ( MAX ( 'Table'[Report Date] ) = EOMONTH ( MAX ( 'Table'[Report Date] ), 0 ), "Yes" )

Last day of the month.JPG

Best Regards

Fowmy
Super User
Super User

@nsaray 

Yes,  It will.

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Fowmy
Super User
Super User

@nsaray 

 

I made a measure, you can repace the variable __Date with your value

Measure Last Date = 

var __date = DATE(2020,12,30) return
IF(
    EOMONTH(__date,0) = __date ,
    TRUE(),
    FALSE()
)

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Thanks, what if the column name is called "Report Date"

will this work for Feb and months with 31 days?

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.