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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors