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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
M-M-P
Helper III
Helper III

Year to last completed month dates?

Hello
I am trying to create a measure table that contains dates from the start of the year to the last completed month.
For example, if we say the date is March 12, 2023, then it should contain dates from January 1, 2023 to February 28, 2023.

I have not been able to find a solution. I hope you can help.

Thanks in advance.

1 ACCEPTED SOLUTION

3 REPLIES 3
M-M-P
Helper III
Helper III

@Ahmedx Thank you so much for reply. I don't know why I used historical dates when I was going to use it in the context of TODAY(). It is not happy about that.
I hope you can help.

pls try this

 

Ahmedx
Super User
Super User

pls try this

Screenshot_3.png

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.