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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Solution Authors