cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
unclejemima Post Patron
Post Patron

IsCurrentMonth DAX formula?

I've got a formula for IsCurrentWeek, IsLastWeek, IsLast7Days, IsToday...but I don't have a forumla for IsCurrentMonth.

 

Can anyone help out with a DAX formula for this?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
unclejemima Post Patron
Post Patron

Re: IsCurrentMonth DAX formula?

Found it!

 

IsCurrentMonth = 
    IF (
        YEAR ( Table1[Create Date] ) = YEAR ( TODAY () )
            && MONTH ( Table1[Create Date] ) = MONTH ( TODAY () ),
        "Yes",
        "No"
    )

View solution in original post

1 REPLY 1
unclejemima Post Patron
Post Patron

Re: IsCurrentMonth DAX formula?

Found it!

 

IsCurrentMonth = 
    IF (
        YEAR ( Table1[Create Date] ) = YEAR ( TODAY () )
            && MONTH ( Table1[Create Date] ) = MONTH ( TODAY () ),
        "Yes",
        "No"
    )

View solution in original post

Helpful resources

Announcements
‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors