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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.