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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.