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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Power BI October 2021 Update - Parameter Power Query Syntax not working

Was using a parameterized filter on the dataset to go back and pull the last 180 days using this filter each [MODIFIED_DT] > Date.AddDays(DateTime.LocalNow(), (#"Number of Days to Query")*-1)). However since the October Power BI update it is no longer usable. Any workarounds or suggestions?

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Date.From([MODIFIED_DT]) > Date.From(Date.AddDays(DateTime.LocalNow(), (#"Number of Days to Query")*-1)))

 

Did the trick

View solution in original post

Syndicate_Admin
Administrator
Administrator

Date.From([MODIFIED_DT]) > Date.From(Date.AddDays(DateTime.LocalNow(), (#"Number of Days to Query")*-1)))

 

Did the trick

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Date.From([MODIFIED_DT]) > Date.From(Date.AddDays(DateTime.LocalNow(), (#"Number of Days to Query")*-1)))

 

Did the trick

Anonymous
Not applicable

Date.From([MODIFIED_DT]) > Date.From(Date.AddDays(DateTime.LocalNow(), (#"Number of Days to Query")*-1)))

 

Did the trick

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.