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
RobRayborn
Helper III
Helper III

In Power Query last day in Month

I need to filter a column of dates that from a file that has Daily amounts.  I need to filter out all but the last day of the month for each month and the last available date.

So for January =  1/31/2023, February = 2/28/2023......... 

Today is May 8th so May = 5/8/2023.

So basically I just want to keep the month end data and last day of the last month available.

1 ACCEPTED SOLUTION

Hi @RobRayborn ,

What about this?

Payeras_BI_0-1683547109517.png

 

Payeras_BI_1-1683547123039.png

Regards,

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

View solution in original post

3 REPLIES 3
RobRayborn
Helper III
Helper III

That adds the End of Month date to each day. That's not what I need. I need the last date for each month, whether it is the last date OF the month or the last available date of the current month.

Hi @RobRayborn ,

What about this?

Payeras_BI_0-1683547109517.png

 

Payeras_BI_1-1683547123039.png

Regards,

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain
Einomi
Resolver II
Resolver II

Select your Date column, then go to

Add Column > Date > Month > End of Month

 

Give it a try and let us know

 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors