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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RobRayborn
Helper IV
Helper IV

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 IV
Helper IV

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
Helper V
Helper V

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.