Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everybody,
I've loaded data from folder and combined all files together this excel files are automatically generated report three times daily.
I want to get only the last three months and the last generated report in day (it's about 9 or 11 pm)
this snapshot of the data.
Solved! Go to Solution.
Hi @Mai_Nashaat ,
You can try this query to filter rows:
= Table.SelectRows(#"Changed Type", each Date.IsInPreviousNMonths([Date created], 3) and Time.Hour([Date created]) >= 21 and Time.Hour([Date created])<= 23)
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Mai_Nashaat ,
You can try this query to filter rows:
= Table.SelectRows(#"Changed Type", each Date.IsInPreviousNMonths([Date created], 3) and Time.Hour([Date created]) >= 21 and Time.Hour([Date created])<= 23)
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Mai_Nashaat use the built in date filter:
Then pick the month range you want.
Then expand/combine the data files.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThe Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!