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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
ARag
Frequent Visitor

Keep rows only when the date is equal to the end of month

Hi, 

 

I have a dataset with dates for each day of a given period. I'm trying to filter and only keep rows where the event date = the last date of the given month. 

 

How do I perform that in PowerQuery (Doing it in DAX after data is loaded is not an option)? 

ARag_0-1631887621043.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

You can use the GUI function in the columns tab, under Date, to add and End of the Month column, then use 

Table.SelectRows(PriorStep, each [Date] = [EndOfMonth])

 

--Nate

View solution in original post

2 REPLIES 2
mussaenda
Super User
Super User

Hi @ARag ,

 

do you have an end date column?

Anonymous
Not applicable

You can use the GUI function in the columns tab, under Date, to add and End of the Month column, then use 

Table.SelectRows(PriorStep, each [Date] = [EndOfMonth])

 

--Nate

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.