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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors