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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
CA_LASA
New Member

how to handle filter when i have D-1 data on the relative date?

I have a table that works with D-1.. I need the report to always show me the last current month, suppose that the date is 01/06, as the relative date takes the sysdate (01/06) not showing any data in the report, because my maximum date with data is 5/31.
how to handle this to filter this D-1 on the relative date?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Your filter would be:

DateFilter = Table.SelectRows(PriorStepName, each [DateColumnName] >= Date.MonthEnd(Date.AddMonths(DateTime.LocalNow(), -1)))

--Nate

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Your filter would be:

DateFilter = Table.SelectRows(PriorStepName, each [DateColumnName] >= Date.MonthEnd(Date.AddMonths(DateTime.LocalNow(), -1)))

--Nate

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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