The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
Solved! Go to Solution.
Your filter would be:
DateFilter = Table.SelectRows(PriorStepName, each [DateColumnName] >= Date.MonthEnd(Date.AddMonths(DateTime.LocalNow(), -1)))
--Nate
Your filter would be:
DateFilter = Table.SelectRows(PriorStepName, each [DateColumnName] >= Date.MonthEnd(Date.AddMonths(DateTime.LocalNow(), -1)))
--Nate